• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 720
  • Last Modified:

New to Java, Trying to set up environment variables for javac

Hello,

I'm trying to set up my environment variables on my Win XPSP3 machine so that i can run javac from anywhere (via MS-DOS). So far what i've done is:
Added JAVA_HOME to my System Variables and put the Value to where i install the JDK
Added %JAVA_HOME%\bin to my Path System Variable.

Whenever i try to run javac from a location the exe file is not in, it gives me the error message:
"This application has failed to start because jli.dll was not found. Re-installing the application may fix this problem."

However, if i go into the JDK\bin folder and run javac it comes up with the different options i can use with it, so i know its installed correctly.

This is really a newbie question, i know but i'm afraid i can't figure it out...
0
ciphron
Asked:
ciphron
1 Solution
 
sciuriwareCommented:
I doubt if it is installed correctly, just because it works there,
where it shouldn't be invoked.

Remove and re-install, to be sure.

;JOOP!
0
 
ciphronAuthor Commented:
Figured it out - sadly, all it took was a restart
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now