We found that on Windows in order to use the 1.5.0_16 deploy classes
the 1.6 JRE has to be removed.
So with JRE 1.6.0 removed we were able to reproduce this issue with
Sweet Home 3D on Windows (the help images do not load), as well as
another game called Pox Nora.
Thank you for your tests.
I tested Sweet Home 3D with JRE 1.5.0_16 on Windows and Linux and had
also the resource problem.
I also tested it with JRE 1.5.0_15 and it works.
We believe we have isolated the pattern that is broken with the
1.5.0_16 webstart. This problem happens
when you try to get a new URL to a resource using an existing URL as
shown below :
URL resourceBase = MyClass.class.getResource("myfile");
URL newURL = new URL(resourceBase, "anotherfile");
The workaround it to use Class.getResource instead :
URL resourceBase = MyClass.class.getResource("myfile");
URL newURL = MyClass.class.getResource("anotherfile");
This works reliably on all platforms and all versions.
Best regards
--
Emmanuel PUYBARET
Email : email@hidden
Web : http://www.eteks.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden