Results 1 to 2 of 2
Hello experts,
I moved the jdk1..bin file to the /usr/bin/jvm and installed it as a root.I also configured jre with my firefox plugin.I tested that and java aaplets are running ...
- 08-04-2010 #1
JDK 6 update 21 config problem
Hello experts,
I moved the jdk1..bin file to the /usr/bin/jvm and installed it as a root.I also configured jre with my firefox plugin.I tested that and java aaplets are running fine.but whenever I try to compile a .java file ,it shows the following:
when I Type java -version it shows:Code:root@optix:/home/mlhazan/Desktop# javac a.java The program 'javac' can be found in the following packages: * openjdk-6-jdk * ecj * gcj-4.4-jdk * gcj-4.3 Try: apt-get install <selected package>
it means java is on my system and working but there may some config problem.When ever I try to install limeware it shows:Code:root@optix:/home/mlhazan/Desktop# java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3) OpenJDK Server VM (build 16.0-b13, mixed mode)
Error: Dependency is not satisfiable: sun-java6-jre|icedtea-java7-jre|sun-java6-jdk|icedtea-java7-jdk
Can any one please help me.
- 08-05-2010 #2
you have installed the icedtea jre, but are missing the jdk. to understand why you need the jdk, i can just say:
JRE = java runtime environment
JDK = java developers kit
JRE => run java programs
JDK => create (i.e. compile) java programs
the JDK needs the JRE, but not vice-versa. anyway, I would recommend to install the openjdk-6-jdk package and uninstall the other java framework packages. from what I read of it, it has a pretty good hotspot VM to run the code which (as I know) performs best amongst all the available virtual machines.


Reply With Quote