[opensuse] java install problem
The reason I turned my 10.3 box on is to play with an application written in Java. But it needs 1.6 while 1.5 was installed, so I selected 1.6 and installed that and then started running the update, which was now progressing well until: Subprocess failed. Error: RPM failed: /usr/bin/build-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory error: %post(tomcat55-server-lib-5.5.23-113.10.noarch) scriptlet failed, exit status 5 When I look at that directory, I find a maze of twisty little passages: # ls -l /usr/lib/jvm-exports/java lrwxrwxrwx 1 root root 34 2007-11-29 17:23 /usr/lib/jvm-exports/java -> /etc/alternatives/java_sdk_exports # ls -l /etc/alternatives/java_sdk_exports lrwxrwxrwx 1 root root 38 2009-06-29 15:51 /etc/alternatives/java_sdk_exports -> /usr/lib/jvm-exports/java-1.6.0.u7-sun # ls -l /usr/lib/jvm-exports/java-1.6.0.u7-sun lrwxrwxrwx 1 root root 26 2009-06-29 15:51 /usr/lib/jvm-exports/java-1.6.0.u7-sun -> java-1.6.0.u7-sun-1.6.0.u7 # ls -l java-1.6.0.u7-sun-1.6.0.u7 ls: cannot access java-1.6.0.u7-sun-1.6.0.u7: No such file or directory # cd /usr/lib/jvm-exports # ls -l java-1.6.0.u7-sun-1.6.0.u7 ls: cannot access java-1.6.0.u7-sun-1.6.0.u7: No such file or directory I looked at http://en.opensuse.org/Installing_Sun's_Java_on_SUSE_Linux, which says: "Make sure your repositories include the openSUSE non-oss repository." I don't have that: # zypper lr # | Enabled | Refresh | Type | Alias | Name --+---------+---------+--------+------------------------+----------------------- 1 | Yes | No | yast2 | openSUSE-10.3-DVD 10.3 | openSUSE-10.3-DVD 10.3 2 | Yes | Yes | rpm-md | openSUSE-10.3-Updates | openSUSE-10.3-Updates but java apparently installed OK so is that a suse version difference? The web page didn't seem to say anything else of relevance, so again, please can somebody point me in the right direction? Thanks, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Dave Howorth