on 02-01-2013 10:49 AM
Hi,
I want to compile and run a java program (eg. abc.java) on windows OS from SAP using ABAP code.
Please suggest Function module or exact command to be maintained in sm69 to achieve the same.
Regards
Shraddha
So , do you want to cretae the java file manually , compile it and execute passing ur arguments ??
there are the commands
cmd>copy NUL abc.java (creates and empty java file)
cmd>javac abc.java
cmd>java abc <command line arguments>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The simplest command to compile java program is:
cmd> javac abc.java
To run this program:
cmd> java abc (without .class extension)
Regards,
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.