• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to solve this Exception  RSS feed

 
srikanth pidikiti
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
C:\j2sdk1.4.2_07\bin>java FaxTest
java.lang.NoClassDefFoundError: com/apple/mrj/MRJAboutHandler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.adobe.acrobat.util.Util.class$(Util.java:35)
at com.adobe.acrobat.util.Util.getResourceAsStream(Util.java:171)
at com.adobe.acrobat.gui.ReaderPrefs.readDefaultProperties(ReaderPrefs
ava:216)
at com.adobe.acrobat.gui.ReaderPrefs.initialize(ReaderPrefs.java:268)
at com.adobe.acrobat.util.FontCache.setPathsAndExtensions(FontCache.ja
:823)
at com.adobe.acrobat.util.FontCache.<init>(FontCache.java:89)
at com.adobe.acrobat.util.FontCache.getTheFontCache(FontCache.java:95)
at com.adobe.acrobat.pdf.PDFFont.initPDFFont(PDFFont.java:692)
at com.adobe.acrobat.PDFDocument.<clinit>(PDFDocument.java:63)
at AcrobatFaxProducer.setPDFFile(AcrobatFaxProducer.java:82)
at FaxTest.btnSend_actionPerformed(FaxTest.java:187)
at FaxTest$2.actionPerformed(FaxTest.java:102)
at java.awt.Button.processActionEvent(Button.java:382)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatch
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchTh
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:14

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:13

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by srikanth pidikiti:java.lang.NoClassDefFoundError: com/apple/mrj/MRJAboutHandler

A jar file that contains above package needs to be added in your path.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a class that's specific to Apples Java implementation. I think that the com.apple.mrj.* classes have been replaced by other classes, though, so the code you're running must be a few years old.
 
srikanth pidikiti
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is no jar files for this error
if u know can u suggest for me sir
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your command prompt indicates that you're on a Windows machine, while the program is trying to use Mac-only classes. This will not work. You need to get a version of the program that is meant to be used on Windows.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!