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 javac <filename> output:javac not found when java is installed why a error with javac ? help me |
Quote:
(To run a program, I think it is, java <progname>.jar.) |
maybe you need a java compiler, try :
Quote:
|
# 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 32bits http://ftp.scientificlinux.org/linux...7-fcs.i586.rpm 64bits http://ftp.scientificlinux.org/linux...fcs.x86_64.rpm Setting up java : Post # 4 here .. http://www.linuxquestions.org/questi...-4175438243/#4 . |
All times are GMT -5. The time now is 10:36 PM. |