2 Replies Latest reply on Dec 31, 2012 12:15 PM by ahoehn

    JBoss AS7 with Oracle Java on Ubuntu

    ahoehn Newbie

      I have installed Java 7 (Oracle) on my Ubuntu server. I have also installed JBoss AS 7.1 on this server. When I start the server, i can see in the environment properties, that the sun.boot.class.path is pointing to the right place where my /usr/local/java/jdk1.7.0_07/jre/lib/rt.jar is placed. But when I deploy my war-file, it results with the following class not found error:

      java.lang.ClassNotFoundException: sun.awt.AppContext

       

      But this class is in the rt.jar. I'm totally lost. No idea where to search for such a configuration bug. Any helping ideas?

       

      java version "1.7.0_07"

      Java(TM) SE Runtime Environment (build 1.7.0_07-b10)

      Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)