Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

awt graphics  RSS feed

 
Kopparam Babu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Kopparam Babu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!