?
Solved

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

Posted on 2008-10-07
2
Medium Priority
?
715 Views
Last Modified: 2012-08-13
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
Comment
Question by:ciphron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 22660547
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
 
LVL 1

Accepted Solution

by:
ciphron earned 0 total points
ID: 22660584
Figured it out - sadly, all it took was a restart
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question