Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353342 - dev-java/sun-jdk[-1.6.0.23] does not have javaws.jar on classpath
Summary: dev-java/sun-jdk[-1.6.0.23] does not have javaws.jar on classpath
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290994
  Show dependency tree
 
Reported: 2011-01-31 20:32 UTC by Miroslav Šulc
Modified: 2016-04-14 20:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2011-01-31 20:32:55 UTC
when compiling/running sweethome3d from java-overlay using sun-jdk, it fails with jnlp classes not on classpath. when compiling/running the same app using icedtea6 and icedtea7, everything works fine. so the issue is probably that sun-jdk does not have javaws.jar on classpath whereas icedtea6 and icedtea7 have it on classpath while running.

$ GENTOO_VM="sun-jdk-1.6" SweetHome3D
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException
Caused by: java.lang.ClassNotFoundException: javax.jnlp.UnavailableServiceException
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.eteks.sweethome3d.SweetHome3D.  Program will exit.

i guess the "Could not find the main class..." message is just product of ClassNotFoundException as it works fine with icedtea6 and icedtea7.
Comment 1 tman 2011-03-12 18:48:08 UTC
i can confirm this problem too
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2011-03-13 22:30:19 UTC
(In reply to comment #1)
> i can confirm this problem too

Please don't randomly CC people from the Changelog. Relevant people already do get notifications.
Comment 3 tman 2011-03-14 17:21:54 UTC
i am sorry for disturbing. i see some nasty bugs and if i dont push a little bit to remind of of maintainer, it seems to be nothing going to change. t

his problem exist since some releases, and its so nasty then hell.

at last 2 day there is more bug fixed then i could believe. how long should i waiting for it?
Comment 4 A. Person 2011-03-25 00:34:47 UTC
Same problem here.
Comment 5 James Le Cuirot gentoo-dev 2016-04-14 20:43:59 UTC
sun-jdk has been last-rited. It's possible this is still an issue but our sweethome3d ebuild is massively outdated anyway. If they still use Web Start, this would need to be looked at afresh in the context of icedtea-web.