Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 2053 - JVM from Kaffe is not working well (sparc and intel)
Summary: JVM from Kaffe is not working well (sparc and intel)
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kaffe
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-04-08 11:40 UTC by ipaul
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-04-08 18:19:29 UTC


Attachments (Terms of Use)

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'


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