File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes awt graphics Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "awt graphics" Watch "awt graphics" New topic
Author

awt graphics

Kopparam Babu
Greenhorn

Joined: Dec 03, 2001
Posts: 8
Hi! Thanks in advance.
I am using installanywhere for installing our product. It has built in java, rather i can put it as it bundles jre along with installer. whenever i am trying to extract the binary (without having java in path or classpath), i am able to proceed. but when the same was tried by one of our customers in their location, it is giving the following error. Can anyone help me to debug what is wrong ???

java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:186)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at com.zerog.ia.installer.Main.b([DashoPro-V1.2-120198])
at com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198])
at java.lang.reflect.Method.invoke(Native Method)
at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198])
at com.zerog.lax.LAX.main([DashoPro-V1.2-120198])
GUI-

Babu
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4120

Looks like they are having trouble loading the graphics environment... I've never seen this problem before... Is there anything special about the client's computer setup?

-Nate

P.S. - kvbabu, please read the Official JavaRanch User Name Policy and re-register with a name that follows the "First Name" + space + "Last Name" template. Thanks!


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Kopparam Babu
Greenhorn

Joined: Dec 03, 2001
Posts: 8
Hi!
The problem was solved when the same binary was extracted in some other window. I am really confused and not getting what might be the problem.
Regards,
Babu.
 
 
subject: awt graphics
 
Threads others viewed
ldap exception
Making HttpsURLConnection behind a proxy
This Weeks Giveaway
LDAP & JAAS Exception
Public key not of type RSA -exception
IntelliJ Java IDE