Dear all,
I am using linux fedora os. But i cannot able to set the java Classpath command.
Step 1:
whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz
Step 2:
vi .bash_profile
export JAVA_HOME=/usr/bin/java
export PATH=$PATH:/usr/bin/java
Step 3:
java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)
Still i cannot able to compile and run the java programs.
Is there any other possibities i have missed in my machine.
Thank you,
Regards,
prem