Mailinglist Archive: opensuse (1470 mails)

< Previous Next >
[opensuse] java install problem
  • From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 30 Jun 2009 16:58:09 +0100
  • Message-id: <4A4A3611.7000704@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages