Need to make path to Libs folder&Path to java - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Java Programming (https://www.supportforums.net/forumdisplay.php?fid=22) +---- Thread: Need to make path to Libs folder&Path to java (/showthread.php?tid=20066) |
Need to make path to Libs folder&Path to java - rokrvaibhav - 06-29-2011 Sorry, About asking for help here without helping other. I will help others, But I get some error in posting to SF, If this works, Imma gonna be posting many stuff. I have made a batch file to run a script from a jar file. which is Code: java -jar Data\my script launcher.jar Data\my script But to run the script the script - need to have 1.) path to Libs folder and 2.) path-to-java\jre6\bin in system path (%PATH%) I am super noob in Batch file. Please tell me how do I set these path, to run the script properly. I know the path command is Code: PATH=%PATH%;C:\Program Files\Java\jre6\bin Also I have downloaded A batch file which automatically finds the path to java. But the thing Is I can't get it work Code: @ECHO OFF Thank you. [HF Username:- rokrvaibhav] |