4 Replies Latest reply on Oct 15, 2003 4:02 PM by 843811

    Erro in the execution of the program with JDK 1.3.1

      Hello guys
      I installed the port JDK 1.3.1 in the system operation Freebsd . But I am having a problem of execution in my Java program. My program try to create bank ticket with bar code but it doesn't get to create the bar code

      I already researched in the internet the followings error but up to now I didn't have any answer to solve my problem. I need the help. Below this the log of the java

      Below the are log of the JDK 1.3.1
      003-10-08 17:50:56 StandardWrapperValve[barbecue]: Servlet.service() for servlet barbecue threw exception
      javax.servlet.ServletException: Servlet execution threw an exception
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

      ----- Root Cause -----
      java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
      at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:54)

      ----- Root Cause -----
      java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:115)