You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Campbell, David" <Da...@granadamedia.com> on 2002/09/23 19:25:54 UTC

Linux Issues::

We are trying to set up Jmeter on some linux servers [redhat7.3].  These
servers are going to run in non gui mode [-n] and server mode [-s] and be
controlled by Some sun workstations running Jmeter.

When we try to start jmeter on the linux boxes we get the following error
[Sun SDK 1.4]

[root@sov-loadtest-2 bin]# sh jmeter n
Exception in thread "main" java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:62)
        at java.awt.Window.init(Window.java:223)
        at java.awt.Window.<init>(Window.java:267)
        at java.awt.Frame.<init>(Frame.java:398)
        at java.awt.Frame.<init>(Frame.java:363)
        at javax.swing.JFrame.<init>(JFrame.java:154)
        at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:90)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:90)

We thought that the problem lay with Java so we tried IBM's Java1.3 but no
dice

[root@sov-loadtest-2 bin]# sh jmeter n
Exception in thread "main" java.lang.NoClassDefFoundError:
sun/awt/X11GraphicsEnvironment
        at java.lang.Class.forName1(Native Method)
        at java.lang.Class.forName(Class.java:142)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:72)
        at java.awt.Window.<init>(Window.java:202)
        at java.awt.Window.<init>(Window.java:244)
        at java.awt.Frame.<init>(Frame.java:329)
        at java.awt.Frame.<init>(Frame.java:276)
        at javax.swing.JFrame.<init>(JFrame.java:152)
        at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:90)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:90)


The remote servers aren't running X but should have relevant libs

Any pointers?

Dave

-- 
David Campbell
Granada Sport and Interactive

+44(0)207 578 4415
david.campbell@granadamedia.com



********************************************************************** 
Please visit the official Granada website at www.granadamedia.com
for the latest company news.

This email and any files transmitted are confidential and intended 
solely for the use of the individual or entity to which they are 
addressed.  If you have received this email in error, please notify 
postmaster@granadamedia.com 

Thank you.
**********************************************************************


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>