• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

how to solve this Exception

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
get schwifty. tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic