View Single Post
Old 11-30-2004, 11:52 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,544
sde is on a distinguished road
well i've never done this, but it should be exactly like executing a system command.

to compile, use: javac file.java
to run, use: java file.class

i *think* this is accurate info ... bel might have to confirm.

the system or user PATH variable would have to be set so javac can be called from anywhere. i think javac is in the /bin/ path of your java sdk.
__________________
Mike
sde is offline   Reply With Quote