Bug 2053 - JVM from Kaffe is not working well (sparc and intel)
JVM from Kaffe is not working well (sparc and intel)
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: kaffe (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-08 07:40 EDT by ipaul
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-04-08 14:19:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description ipaul 1999-04-08 07:40:01 EDT
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 10:40:59 EDT
try 'java HelloWorldApp'

Note You need to log in before you can comment on or make changes to this bug.