Re: Error with javax.swing
Also happens with JDK 7 update 45, when launching the app in chapter 2 (see page 53 at the top).
The problem seems to be that the system class path delegation (described in page 56 in the grey sidebar) is not working. The solution is to create a bundle with rt.jar which contains the javax.swing package and this add this bundle to the wanted application. An interesting exercise to do.
The book is from 2011 so some things will not work in Nov 13 or February 14...
|