HP3000-L Archives

August 2000, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Cortlandt Wilson <[log in to unmask]>
Reply To:
Cortlandt Wilson <[log in to unmask]>
Date:
Tue, 29 Aug 2000 01:30:40 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (97 lines)
I need help.

I just install Java on MPE/iX version 6.5
Used  JINSTJDK.INSTALL.JAVA  for the installation.

The Problem:   The "Exception in thread "main"
java.lang.NoClassDefFoundError".
Thrown if the Java Virtual Machine or a classloader tries to load in
the definition of a class  and no definition of the class could be
found.
The searched-for class definition existed when the currently executing
class was compiled, but the definition can no longer be found.

------------------------ SAMPLE ----------------------------------

:javac.pub.sys -verbose /JAVA/DEMO/HelloWorld.java

XEQ /usr/local/java/latest/bin/PA-RISC/green_threads/javac '-verbose
/JAVA/DEMO/
HelloWorld.java'
No Floating-Point coprocessor, disabling JIT
[parsed /JAVA/DEMO/HelloWorld.java in 4804 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/lang/Object.class) in 334
ms]
[checking class HelloWorld]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/lang/String.class) in 502
ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/io/Serializable.class) in
19 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/lang/Comparable.class) in
21 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/lang/System.class) in 300
ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/io/PrintStream.class) in
182 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/io/FilterOutputStream.cla
ss) in 42 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/io/OutputStream.class) in
45 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/io/IOException.class) in
23 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/lang/Exception.class) in
22 ms]
[loaded
/usr/local/java/jdk1.2.2/jre/lib/rt.jar(java/lang/Throwable.class) in
98 ms]
[wrote /JAVA/DEMO/HelloWorld.class]
[done in 13431 ms]
:
:java /JAVA/DEMO/HelloWorld

XEQ /usr/local/java/latest/bin/PA-RISC/green_threads/java
'/JAVA/DEMO/HelloWorld
'
No Floating-Point coprocessor, disabling JIT
Exception in thread "main" java.lang.NoClassDefFoundError:
/JAVA/DEMO/HelloWorld

:sh
######################################################################
##

               MPE/iX Shell and Utilities (A.50.02)
    COPYRIGHT (c) Hewlett-Packard Company 1992, All Rights Reserved.

######################################################################
##


shell/iX> ls -l /JAVA/DEMO/HelloWorld.*
-rwxrwxrwx   1 MANAGER.SYS       JAVA         427 Aug 29 03:19
/JAVA/DEMO/HelloWorld.class
-rwxr-xr-x     1 MANAGER.SYS       JAVA         142 Oct 14  1999
/JAVA/DEMO/HelloWorld.java
--------------------------------------------------------------------

P.S.  I found three questions posted to the HP3000-L in the last year
asking about various incarnations of this exceptions but never any
answers.     Also nothing in the Java/iX FAQ on Jazz.

--
Cortlandt Wilson
Cortlandt Software
Mountain View, CA
(650) 966-8555
http://www.cortsoft.com    (MANMAN Resources Guide)

ATOM RSS1 RSS2