Bug 2053

Summary: JVM from Kaffe is not working well (sparc and intel)
Product: [Retired] Red Hat Linux Reporter: ipaul
Component: kaffeAssignee: David Lawrence <dkl>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-04-08 18:19:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ipaul 1999-04-08 11:40:01 UTC
I have tried to compile a simple java program from
tutuorial:

class HelloWorldApp {
            public static void main(String[] args) {
                System.out.println("Hello World!"); }
        }

It has compiled OK with "javac HelloWorldApp.java"
and resulted a class file HelloWorldApp.class
I wanted to run this class file with the following command:
"java HelloWorldApp.class" , but instead of HelloWorld
message I got the following:

[root@paul /root]# java HelloWorldApp.class
java.lang.NoClassDefFoundError: HelloWorldApp/class
        at java/lang/Throwable.<init>(37)
        at java/lang/Error.<init>(21)
        at java/lang/LinkageError.<init>(21)
        at java/lang/NoClassDefFoundError.<init>(21)

Comment 1 Bill Nottingham 1999-04-08 14:40:59 UTC
try 'java HelloWorldApp'