G'day, I've installed the NrxRedBk.zip package as per the instructions, built the \NrxRedBk\Redbook & gui\SimpleGridBagLayout classes successfully, & updated the CLASSPATH. But I get the following error when I attempt to run it: C:\Program Files\NetRexx\NrxRedBk\gui\SimpleGridBagLayout>appletviewer GrBagLa2.htm java.lang.NoClassDefFoundError: Redbook/SimpleGridBagLayout at GrBagLa2.init(GrBagLa2.nrx:10) at sun.applet.AppletPanel.run(AppletPanel.java:388) at java.lang.Thread.run(Thread.java:568) C:\Program Files\NetRexx\NrxRedBk\Redbook>dir Volume in drive C is C_Drive Volume Serial Number is 98E7-6D3C Directory of C:\Program Files\NetRexx\NrxRedBk\Redbook 08/03/2005 03:05p <DIR> . 08/03/2005 03:05p <DIR> .. 13/08/1997 06:05a 586 build.bat 13/08/1997 06:05a 586 build.cmd 16/04/1997 02:39p 63,643 CHINAT.jpg 08/03/2005 05:12p 2,053 CloseWindow.class 16/04/1997 02:41p 45,548 DOG.jpg 14/04/1997 11:42a 55,856 DRAGON.jpg 08/03/2005 05:12p 1,425 EqualSizePanel.class 08/03/2005 05:13p <DIR> exception 08/03/2005 05:12p 5,971 ExtendedLabel.class 08/03/2005 05:12p 847 FieldSelect.class 16/04/1997 02:43p 52,732 GATE1.jpg 08/03/2005 05:13p <DIR> gui 08/03/2005 05:12p 6,161 ImagePanel.class 08/03/2005 05:12p 1,984 KeyCheck.class 16/04/1997 02:42p 49,151 KIDS.jpg 16/04/1997 02:43p 48,417 LIGHTHOU.jpg 08/03/2005 05:12p 1,305 LimitTextField.class 08/03/2005 05:13p 382 LoadImageException.class 08/03/2005 05:13p 3,736 MessageBox.class 08/03/2005 05:13p 685 NoFrameWindow.class 08/03/2005 05:13p 664 NoWindow.class 16/04/1997 02:41p 60,082 PINAC.jpg 08/03/2005 05:13p 3,860 PromptDialog.class 08/03/2005 05:13p 397 PromptDialogAction.class 08/03/2005 05:13p 1,338 PromptDialogActionListener.class 08/03/2005 05:13p 2,613 RedbookDialog.class 08/03/2005 05:13p 320 RedbookException.class 08/03/2005 05:13p 2,865 RedbookUtil.class 08/03/2005 05:12p 3,623 SimpleGridBagLayout.class 16/04/1997 02:41p 80,742 TEMPLE.jpg 08/03/2005 05:13p <DIR> utility 08/03/2005 05:12p 975 WindowFocus.class 08/03/2005 05:12p 3,452 WindowSupport.class 30 File(s) 501,999 bytes 5 Dir(s) 977,383,424 bytes free C:\Program Files\NetRexx\NrxRedBk\Redbook> Any clues? Regards, Peter Sharp MQSeries Specialist Middleware Support IBM Ballarat Australia office: 61-3-5327-3175 mobile: 61-413-276-282 fax: 61-3-5327-3297 e-mail: [hidden email] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
I remembered an earlier comment re- NoClassDefFoundError for which the solution was to copy tools.jar into the jre\lib\ext directory due to a change in behaviour from earlier jdk's (I'm using java 1.4.2). Unfortunately, copying the Redbook\ directory to jre\lib\ext did not work, but copying the contents of the SimpleGridBagLayout dir to the home (NrxRedBk\) dir & running from there did the trick. So, it seems it's necessary to be aware of the changes in behaviour from the v1.1.1 jdk that the Redbook samples were developed & tested for, compared to later jdk's, & to compensate accordingly. Peter Sharp Ballarat Australia > I've installed the NrxRedBk.zip package as per the instructions,built the > \NrxRedBk\Redbook & gui\SimpleGridBagLayout classes > successfully, & updated > the CLASSPATH. But I get the following error when I attempt to run it: > > C:\Program Files\NetRexx\NrxRedBk\gui\SimpleGridBagLayout>appletviewer > GrBagLa2.htm > java.lang.NoClassDefFoundError: Redbook/SimpleGridBagLayout > at GrBagLa2.init(GrBagLa2.nrx:10) > at sun.applet.AppletPanel.run(AppletPanel.java:388) > at java.lang.Thread.run(Thread.java:568) I haven't looked at/tried the example, but it sounds as though the classpath is either wrong or you are invoking the sample from the wrong directory? mfc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
Free forum by Nabble | Edit this page |