jvm - what is the difference between java-1.7.0-openjdk-i386 and java-7-openjdk-i386 -



jvm - what is the difference between java-1.7.0-openjdk-i386 and java-7-openjdk-i386 -

when install netbeans gives me alternative select java environment, have 3 options, oracle java , these 2 (java-1.7.0-openjdk-i386 , java-7-openjdk-i386). difference between these two?the os if ubuntu.

the 2 openjdk same. openjdk different oracle jdk. read this post more clarification.

the reason why getting 2 options openjdk have 2 copies of openjdk installed (or 2 different references same directory on system.)

for farther investigation, seek ls -lh /usr/lib/jvm. /usr/lib/jvm directory java gets installed. check if 1 of them symbolic link. also, check in netbeans location of 2 jdk , see if in fact have 2 versions or references of java on system.

for example, here output of ls -lh on system:

ls -lh total 24k lrwxrwxrwx 1 root root 26 sep 10 13:41 default-java -> /usr/lib/jvm/java-7-oracle lrwxrwxrwx 1 root root 18 mar 13 2012 java-1.5.0-gcj -> java-1.5.0-gcj-4.6 drwxr-xr-x 7 root root 4.0k aug 22 2012 java-1.5.0-gcj-4.6 lrwxrwxrwx 1 root root 19 jun 26 2012 java-1.6.0-openjdk-i386 -> java-6-openjdk-i386 drwxr-xr-x 3 root root 4.0k feb 15 10:52 java-6-openjdk-common drwxr-xr-x 7 root root 4.0k feb 15 10:52 java-6-openjdk-i386 drwxr-xr-x 8 ankit ankit 4.0k jun 6 2012 java-6-sun drwxr-xr-x 5 root root 4.0k aug 22 2012 java-7-openjdk-i386 drwxr-xr-x 8 root root 4.0k feb 20 10:40 java-7-oracle lrwxrwxrwx 1 root root 12 mar 13 2012 java-gcj -> java-gcj-4.6 lrwxrwxrwx 1 root root 18 apr 16 2012 java-gcj-4.6 -> java-1.5.0-gcj-4.6

as can see java-1.6.0-openjdk-i386 symbolic link/reference directory named java-6-openjdk-i386

java jvm openjdk

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -