plz help - compile errors

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
jerseyboy428
Posts: 2
Joined: Sun Jun 20, 2004 4:35 pm

plz help - compile errors

Post by jerseyboy428 »

AHH.

ok, so I've been trying to get the stupid thing to compile but it just wont. I tried fixing all of the file names and ALL of that, but it just wont work.

When I compile, this message appears:

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.3', but '1.4' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

Tool completed with exit code 2


I've just about had it with java, the jdk, and the jre. lol. I just don't know what the problem is. I know it is stupid- could someone possibly tell me what I need to have in some file. Thanks!!!

-Nick
jerseyboy428
Posts: 2
Joined: Sun Jun 20, 2004 4:35 pm

Post by jerseyboy428 »

hi again....

I am now downloading the JRE 1.4.2_04...I could have sworn that I did before..?
-----
results: gets rid of errors above, but now I get this:

java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
Tool completed with exit code 1


any ideas?
User avatar
delley
Posts: 13
Joined: Mon Jan 12, 2004 10:26 am

install?

Post by delley »

Have you set environment variables according to java install guide?

i.e. JAVA_HOME, CLASSPATH and PATH variable.

delley
Now - suddenly everybody is a comedian!?!
Post Reply