Link to home
Start Free TrialLog in
Avatar of nirvani
nirvani

asked on

Help with compiling java code in Mandrake Linux


Hi there,

   I am using Mandrake Linux 7.0. Can anyone tell me how to compile java code in the OS.

cheers,
b.m
Avatar of jlevie
jlevie

Have you installed a Java SDK? You can get a copy from http://wwws.sun.com/software/java2/download.html

Once you have the SDK installed add the path to the javac compiler to your PATH and you can compile.
Avatar of nirvani

ASKER


Hi there,

   can you help me to set the path for compiler. How about gcc-java compiler in the Mandrake CD? Is it for java or anything else?

cheers,
b.m
ASKER CERTIFIED SOLUTION
Avatar of elniniokev
elniniokev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
export PATH=$PATH:/usr/sbin/:/usr/local/bin  in the above submission is an example, obviously you would put the path to your java installation.