The culprit I believe is "libgcj", which could be the GNU Java gcj. So you could possibly uninstall the GNU Java, and follow carefuly the Sun Java install: basically put it in a common folder like /usr/local/j2sdk1.4.2_<version> and include in $PATH.
Nothing runs under GNU Java, I can't understand why they keep pushing it. --- David Vincent-Jones <[EMAIL PROTECTED]> wrote: > John; > > Slow progress .. not there yet but .. > > On the assumption that I did not have all the Java needed in place I > crammed a heap more Java (1.5...) stuff into place with this result: > *********************** > [EMAIL PROTECTED]:~$ ~/j601/jw > java.lang.ClassCastException: java.awt.DefaultFocusTraversalPolicy > cannot be cast to javax.swing.CompatibilityFocusTraversalPolicy > at javax.swing.JComponent.setNextFocusableComponent(libgcj.so.81) > at jx.utils.wcc.wccx(Unknown Source) > at jx.utils.wd0.wdexec(Unknown Source) > at jx.utils.jnative.wd(Unknown Source) > Error java.awt.DefaultFocusTraversalPolicy cannot be cast to > javax.swing.CompatibilityFocusTraversalPolicy code = > java.lang.ClassCastException: java.awt.DefaultFocusTraversalPolicy > cannot be cast to javax.swing.CompatibilityFocusTraversalPolicy > ********************* > It did however open a J window ... but all the menus were frozen > > Any idea what I may be missing? > > David > > -----Original Message----- > From: John Randall <[EMAIL PROTECTED]> > Reply-To: Chat forum <[email protected]> > To: Chat forum <[email protected]> > Subject: Re: [Jchat] Linux install > Date: Mon, 03 Dec 2007 20:53:15 -0500 (EST) > > David Vincent-Jones wrote: > > Thanks for the prompt responses .... > > Managed to get jconsole up ... not exactly friendly .. but other icons > > failed. > > I have jconsole .. jee .. jep ..and .. jw all with 'sort of' similar > > icons. > > > > Does J not run in some sort of GUI under Linux? > > > > David > > > > Dear David: > > To run from a terminal > > ~/j601/jw > > This gives the graphic (Java) interface. > > To run from a menu, try this. (I am on Fedora, but I imagine Ubuntu is > similar). > > On a toolbar, panel or whatever, create a new launcher, with command line > > /home/john/j601/jw > > (if your user name is john) > > and icon > > /home/john/j601/jicon.gif > > You should now be able to drag this to a menu. > > Best wishes, > > John > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
