Cent OS 4.6 - need help in JDK installation
Hello all,
I just started with Linux and CentOS 4.6. I have installed jdk1.6.0_07 on my machine. I used a binary file download, made it executable and installed it. Code:
[root@vik ~]# cd /usr/share/java-1.6.0 Code:
[root@vik ~]# cd /usr/share/java-1.6.0/jdk1.6.0_07/bin Code:
[root@vik ~]# java -version |
Solved
Hey guys, solved this problem. Actually figured out a workaround. I wasnt able to get that working, but I had to install Netbeans as well, so downloaded the jdk+netbeans package. That did the trick.
Quote:
|
Hi,
My guess is that either you don't have /usr/share/java-1.6.0/jdk1.6.0_07/bin in roots PATH environmetal variable so bash doesn't know where to find javac or you should have typed; ./javac Hello.java in that directory. Steve |
Hmmm.. that might have been the case Steve. The PATH variable was correctly configured but i did type the command like...
Code:
[root~vik]# javac Hello.java Quote:
|
All times are GMT -5. The time now is 07:59 PM. |