how to execute java programs
i wanted to execute java program so initially i used
YUM INSTALL JAVA
output: java already installed no updates found
then i wrote a java progrm and started compiling
output:javac not found
when java is installed why a error with javac ?
(To run a program, I think it is, java <progname>.jar.)
maybe you need a java compiler, try :
# yum search java
.. And if you think you can use openjdk :
# yum install java-1.6.0-openjdk-devel
Or version 1.7 : # yum install java-1.7.0-openjdk-devel
The Sun java6jdk : jdk-1.6.0_37-fcs
Setting up java : Post # 4 here ..
|All times are GMT -5. The time now is 12:20 AM.|