Saturday, June 09, 2007 parmanent link to this post
Java directory structure in OpenSuse 10.2 Linux
Here is the directory structure of Java in OpenSuse 10.2 as a refereence.
# which java
/usr/bin/java
/usr/bin/java -> /etc/alternatives/java*
/etc/alternatives/java -> /usr/lib64/jvm/jre1.6.0_01/bin/java
this means the 64 bit java executable lives in /usr/lib64/jvm/[version]/bin/java. To enable the java version as a defualt adjust the link /etc/alternatives/java to point to the desired java version.
/etc/alternatives/jre -> /usr/lib64/jvm/[version]/
this is the link to your default jre. adust as desired.
/etc/alternatives/[version] -> /usr/lib64/jvm/[version]/
link pointing from alternatives to the real dir of the version. The real version can be a link too. if the versions are compatible e.g.
/usr/lib64/jvm/[version1] -> java-1.5.0-sun-1.5.0_update10/jre/
thats where the jar live
/usr/share/java
needed directorys but no content ...
/usr/shar/[version]
/usr/lib64/[version]
No firefox java plugin 64bit available exept Blackdown but couldn't get it working exept with <=32megs heap.. strange. nspluginwrapper doesent work with libjavaplugin_oj.so since it use open java OJAPI and not NAPI. Interestingly, Konquerer has its own java plugin that works put is incopatible with firefox though...
browser-blugins live in /usr/lib64/browser-plugins
or /usr/lib/browser-plugins
respectively. Thats the default plugin dir for firefox if you use the suse startupscript for firefox.
/usr/bin/java
/usr/bin/java -> /etc/alternatives/java*
/etc/alternatives/java -> /usr/lib64/jvm/jre1.6.0_01/bin/java
this means the 64 bit java executable lives in /usr/lib64/jvm/[version]/bin/java. To enable the java version as a defualt adjust the link /etc/alternatives/java to point to the desired java version.
/etc/alternatives/jre -> /usr/lib64/jvm/[version]/
this is the link to your default jre. adust as desired.
/etc/alternatives/[version] -> /usr/lib64/jvm/[version]/
link pointing from alternatives to the real dir of the version. The real version can be a link too. if the versions are compatible e.g.
/usr/lib64/jvm/[version1] -> java-1.5.0-sun-1.5.0_update10/jre/
thats where the jar live
/usr/share/java
needed directorys but no content ...
/usr/shar/[version]
/usr/lib64/[version]
No firefox java plugin 64bit available exept Blackdown but couldn't get it working exept with <=32megs heap.. strange. nspluginwrapper doesent work with libjavaplugin_oj.so since it use open java OJAPI and not NAPI. Interestingly, Konquerer has its own java plugin that works put is incopatible with firefox though...
browser-blugins live in /usr/lib64/browser-plugins
or /usr/lib/browser-plugins
respectively. Thats the default plugin dir for firefox if you use the suse startupscript for firefox.
1 Comments:
All growth is a leap in the dark.
cheap jerseys from china
wholesale cheap snapback hats
Wednesday, August 27, 2014 2:56:00 AM
Post a Comment
<< Home