Bug 290866 - java-1_6_0-sun-devel-1.6.0.u1-7 has a broken "java" script
Summary: java-1_6_0-sun-devel-1.6.0.u1-7 has a broken "java" script
Status: RESOLVED FIXED
: 291121 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Java (show other bugs)
Version: Alpha 5plus
Hardware: i586 SLES 10
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 20:09 UTC by Forgotten User irWrOuKzk1
Modified: 2007-07-12 14:42 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User irWrOuKzk1 2007-07-10 20:09:56 UTC
I can no longer run java without providing a full path to alternatives

dustin:~ # /etc/alternatives/java_sdk/bin/java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode)
dustin:~ # which java
/usr/bin/java
dustin:~ # ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 Jul 10 20:01 /usr/bin/java -> /etc/alternatives/java
dustin:~ # ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 38 Jul 10 20:01 /etc/alternatives/java -> /usr/lib/jvm/jre-1.6.0.u1-sun/bin/java
dustin:~ # //usr/lib/jvm/jre-1.6.0.u1-sun/bin/java -version
/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin: line 4: /usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin.bin: No such file or directory
/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin: line 4: exec: /usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin.bin: cannot execute: No such file or directory
dustin:~ # ls -l /usr/lib/jvm/jre-1.6.0.u1-sun/bin/java
-rwxr-xr-x 4 root root 208 Jul  5 18:46 /usr/lib/jvm/jre-1.6.0.u1-sun/bin/java
dustin:~ # java -version
/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin: line 4: /usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin.bin: No such file or directory
/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin: line 4: exec: /usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java.bin.bin: cannot execute: No such file or directory
dustin:~ #
Comment 1 Hans-Peter Holler 2007-07-10 20:43:58 UTC
sun-java on opensuse 10.3 (factory): none
sun-java on opensuse 10.3 (factory-extra): 1.5
bug against opensuse 10.3 with OS == SLES 10: invalid
Comment 2 Forgotten User irWrOuKzk1 2007-07-10 21:14:12 UTC
This is a valid bug. I am using this package from factory. What's going on?

I just reported another bug 289624 using the same situation.

The java-1_6_0-sun-devel-1.6.0.u1-5 package from a couple weeks ago worked fine. Please fix this bug, the new -7 package doesn't work!
Comment 3 Daniel Bornkessel 2007-07-11 11:40:17 UTC
Hi ... my fault -- sorry.
A wrapper script was applied twice, which actually deleted the original binary.
The fix was already submitted on friday, but the broken package got synced out unfortunately.
To get it working again meanwhile, do the following:
cp /usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/bin/java{,.bin} /usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin

Closing as fixed, thanks for the report.
Daniel
Comment 4 Daniel Bornkessel 2007-07-12 14:42:49 UTC
*** Bug 291121 has been marked as a duplicate of this bug. ***