Hi,
My computer run Windows XP, and I've set a Classpath that looks like
this:
C:\DJGPP/bin;C:\Program Files\Java\jdk1.5.0_06/bin
Is this correct? I can compile but not run the programs that I've
written. I get the errormessage
"Exception in thread main java lang NoClassDefFoundError:" Can someone
help me please.
Cheers,
Rhino - 30 Apr 2006 19:16 GMT
> Hi,
>
[quoted text clipped - 4 lines]
>
> Is this correct?
I don't like the look of those mixed slashes and backslashes. You should at
least be consistent in which you use. Fix that and try executing the class
again before you do anything else.
> I can compile but not run the programs that I've
> written. I get the errormessage
> "Exception in thread main java lang NoClassDefFoundError:" Can someone
> help me please.
That's a very common error message and can be caused by any number of
conditions. Roedy Green's site, http://mindprod.com, has an article listing
many of the possible causes. Just search on NoClassDefFoundError when you
get there.
If fixing the slashes and looking up the error on Roedy's site don't help
you solve your problem, try posting again but this time be sure to tell us
more about the placement of your source code and where the class file is
supposed to be generated as well as any package names you are using. It's
very possible that you are using a package name and then trying to execute
from the wrong directory.
--
Rhino
karthika - 01 May 2006 07:42 GMT
Hai Everybody
I am using jasper reports with xml parser.
While i running this program It displays an error
like
NESTED BY :
net.sf.jasperreports.engine.JRException: Attribute value
"$F{font_size}" of type NMTOKEN must be a name token.
at
net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:242)
at
net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)
at
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213)
at
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at
net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at Hello.main(Hello.java:19)
Can any one help me
Thanks in advance.
Rhino - 01 May 2006 15:20 GMT
> Hai Everybody
> I am using jasper reports with xml parser.
[quoted text clipped - 21 lines]
>
> Thanks in advance.
Since this is a new problem that is unrelated to the problem in this thread,
you should start a new thread for it.
--
Rhino
karthika - 03 May 2006 08:19 GMT
Hai Rhino,
Thanks for your suggestion.
I another problem in running iReport.When i run
iReport.sh it shows an error as
Exception in thread "main" java.lang.NullPointerException
at
com.digitprop.tonic.SplitPaneDivider.oneTouchExpandableChanged(SplitPaneDivider.java:70)
at
javax.swing.plaf.basic.BasicSplitPaneDivider.setBasicSplitPaneUI(BasicSplitPaneDivider.java:172)
at
javax.swing.plaf.basic.BasicSplitPaneDivider.<init>(BasicSplitPaneDivider.java:132)
at
com.digitprop.tonic.SplitPaneDivider.<init>(SplitPaneDivider.java:56)
at
com.digitprop.tonic.SplitPaneUI.createDefaultDivider(SplitPaneUI.java:57)
at
javax.swing.plaf.basic.BasicSplitPaneUI.installDefaults(BasicSplitPaneUI.java:316)
at
javax.swing.plaf.basic.BasicSplitPaneUI.installUI(BasicSplitPaneUI.java:300)
at
com.digitprop.tonic.SplitPaneUI.installUI(SplitPaneUI.java:64)
at javax.swing.JComponent.setUI(JComponent.java:652)
at javax.swing.JSplitPane.setUI(JSplitPane.java:350)
at javax.swing.JSplitPane.updateUI(JSplitPane.java:378)
at
it.businesslogic.ireport.gui.docking.DockingContainer.recreateAll(DockingContainer.java:517)
at
it.businesslogic.ireport.gui.docking.DockingContainer.insertPanel(DockingContainer.java:247)
at
it.businesslogic.ireport.gui.docking.DockingContainer.insertPanel(DockingContainer.java:256)
at
it.businesslogic.ireport.gui.docking.DockingContainer.addPanel(DockingContainer.java:124)
at
it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:528)
at
it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6987)
And it strucks IReport
Please help me
Thanks
Thomas Weidenfeller - 02 May 2006 09:15 GMT
> My computer run Windows XP, and I've set a Classpath that looks like
> this:
>
> C:\DJGPP/bin;C:\Program Files\Java\jdk1.5.0_06/bin
In the CLASSPATH? bin-directories in the classpath? You are mixing up
the path and the classpath.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/