warhammerdude20
02-09-2004, 06:59 PM
hello everyone,
i have been doing javascript for a year and i wanted to start in to java. i learnt alot of java, but i couldnt compile the program. the book said stuff about a command line and jdk1.3.1... well just 10 seconds ago i figured out jdk1.3.1 is j2se1.3.1... so i whipped up a simple program that sais "hello", i compiled it and i tryed to run it like so on the command line(the class is called Example):
java Example
when i did that, it said something like noClassDefError or something like that... i dont know what the problem is, but does it have anything to do with a classpath?
forgive me if im not making any sense, but ive just got to get this working!
thank you very much
10-4
i have been doing javascript for a year and i wanted to start in to java. i learnt alot of java, but i couldnt compile the program. the book said stuff about a command line and jdk1.3.1... well just 10 seconds ago i figured out jdk1.3.1 is j2se1.3.1... so i whipped up a simple program that sais "hello", i compiled it and i tryed to run it like so on the command line(the class is called Example):
java Example
when i did that, it said something like noClassDefError or something like that... i dont know what the problem is, but does it have anything to do with a classpath?
forgive me if im not making any sense, but ive just got to get this working!
thank you very much
10-4