variable « batch File « Java I/O Q&A





1. JAVA_HOME variable is not working correctrly in batch file.    coderanch.com

Hi all, I have installed two versions of java in my machine, say c:\jdk1.5 and c:\program files\jdk1.4. I would like to invoke appropriate java interpreter by setting JAVA_HOME variable. For that I have written a batch file, but it doesn't work correctly. @ECHO ON ECHO %JAVA_HOME% SET JAVA = %JAVA_HOME% %JAVA%\bin\java A A is the Java class file. If I set ...

2. JAVA_HOME variable in batch file is not working properly    coderanch.com

Hi all, I have installed two versions of java in my machine, say c:\jdk1.5 and c:\program files\jdk1.4. I would like to invoke appropriate java interpreter by setting JAVA_HOME variable. For that I have written a batch file, but it doesn't work correctly. @ECHO ON ECHO %JAVA_HOME% SET JAVA = %JAVA_HOME% %JAVA%\bin\java A A is the Java class file. If I set ...

5. java to share variables with batch file    forums.oracle.com