View Single Post
  #6 (permalink)  
Old 07-09-2009, 02:28 AM
angryboy's Avatar
angryboy angryboy is offline
Senior Member
 
Join Date: Jan 2009
Location: Javaland
Posts: 742
Rep Power: 2
angryboy is on a distinguished road
Default
This file calls another batch file named "FindJDK.bat". Can you post that as well? It maybe the source of your problem.

Since your c: is not in use, there is a way to create a temp alias. Open a command prompt and type:
Code:
H:\> subst c: h:\

H:\> subst
C:\: => H:\

H:\> javac -version
javac 1.6.0

H:\> _
Offcourse, this is only temp, so it will not stay when the comp is rebooted.

Then, if still not working, try changing all references in the PATH and CLASSPATH from H:\program file\jdk.... to c:\.....
__________________
USE CODE TAGS--> [CODE]...[/CODE]
Get NotePad++ (free)
Reply With Quote