Bug 704419

Summary: Use correct path in IcedteaPlugin.so
Product: [openSUSE] openSUSE 12.1 Reporter: Michal Vyskocil <mvyskocil>
Component: JavaAssignee: Michal Vyskocil <mvyskocil>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P2 - High CC: bill_wayson, jo.debaer, nwr10cst-oslnx
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 704309    

Description Michal Vyskocil 2011-07-07 14:03:16 UTC
The icedtea-web plugin use the following path 

/usr/lib64/jvm/java-1.6.0-openjdk/jre

which expects SDK (-devel) is installed. Change the location to

/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/

owned by JRE (java-1_6_0-openjdk) will fix all problems that one is not able spawn the java vm like

https://bugzilla.novell.com/show_bug.cgi?id=702825#c25
Comment 1 Michal Vyskocil 2011-07-07 14:21:40 UTC
The same issue exists in /usr/bin/javaws as well - the 

launcher/javaws.in has

JAVA=@JAVA@

where @JAVA@ refers to the SDK used for build of icedtea-web. Much better is use

JAVA=@JRE@/bin/java

in both javaws.in and itweb-settings.in
Comment 2 Neil Rickert 2011-07-07 17:24:27 UTC
Thanks for identifying the problem.
Comment 3 Michal Vyskocil 2011-07-08 08:34:10 UTC
Submitted a fix to Java:openjdk6:Factory and to openSUSE:Factory by request 75829. openSUSE will be fixed next week.
Comment 4 Bernhard Wiedemann 2011-07-08 10:00:28 UTC
This is an autogenerated message for OBS integration:
This bug (704419) was mentioned in
https://build.opensuse.org/request/show/75829 Factory / icedtea-web
Comment 5 Michal Vyskocil 2011-07-20 13:22:31 UTC
*** Bug 704459 has been marked as a duplicate of this bug. ***
Comment 6 Michal Vyskocil 2011-07-20 13:23:57 UTC
*** Bug 704814 has been marked as a duplicate of this bug. ***
Comment 7 Bernhard Wiedemann 2011-07-21 09:00:33 UTC
This is an autogenerated message for OBS integration:
This bug (704419) was mentioned in
https://build.opensuse.org/request/show/76590 11.4 / icedtea-web
https://build.opensuse.org/request/show/76591 11.3 / icedtea-web
https://build.opensuse.org/request/show/76592 Evergreen:11.1 / icedtea-web
https://build.opensuse.org/request/show/76593 Evergreen:11.2 / icedtea-web