PwneRL33T Posted June 26, 2014 Share Posted June 26, 2014 hey guys iv come back to scripting after about a year and i have recently edited my scripts to work on the new version of osrs... downsides..... running on slow portable hotspot so not much bandwidth with slow, sloppy connection, anything i can do locally? Thanks guys! Link to comment Share on other sites More sharing options...
SSF Gorilla Posted June 26, 2014 Share Posted June 26, 2014 I have no idea about how to help you, other than tell you what the source of your problems are: http://gyazo.com/175626217d2a93c8c54e48fba96fdd1c Link to comment Share on other sites More sharing options...
denoxum Posted June 26, 2014 Share Posted June 26, 2014 Project -> Export -> Jar file 1 Link to comment Share on other sites More sharing options...
PwneRL33T Posted June 26, 2014 Author Share Posted June 26, 2014 Project -> Export -> Jar file i am using notepad++ Link to comment Share on other sites More sharing options...
denoxum Posted June 26, 2014 Share Posted June 26, 2014 http://stackoverflow.com/questions/9941296/how-do-i-make-a-jar-from-a-java Link to comment Share on other sites More sharing options...
PwneRL33T Posted June 26, 2014 Author Share Posted June 26, 2014 http://stackoverflow.com/questions/9941296/how-do-i-make-a-jar-from-a-java i donot understand with this.... i remember i use to use a java program and had to make a keytool or somthing that was how i did it back in the day does anyone know of the java program that makes you make a key, or at least any cmd.exe command lines that i can use to compile them into .class files then compile the class files in a .jar file? Link to comment Share on other sites More sharing options...
Mysteryy Posted June 26, 2014 Share Posted June 26, 2014 i donot understand with this.... i remember i use to use a java program and had to make a keytool or somthing that was how i did it back in the day does anyone know of the java program that makes you make a key, or at least any cmd.exe command lines that i can use to compile them into .class files then compile the class files in a .jar file? In cmd prompt cd into the directory of your .java files. Then type in "javac *.java" this will compile all files ending in .java. Link to comment Share on other sites More sharing options...
Khaleesi Posted June 26, 2014 Share Posted June 26, 2014 (edited) i am using notepad++ Go get eclipse or intelliJ please, Will spare you a lot of time! In cmd prompt cd into the directory of your .java files. Then type in "javac *.java" this will compile all files ending in .java. What mysteryy said Edited June 26, 2014 by Khaleesi Link to comment Share on other sites More sharing options...
PwneRL33T Posted June 26, 2014 Author Share Posted June 26, 2014 http://gyazo.com/d68bedf0d589b186d3d3c91074eb081e Link to comment Share on other sites More sharing options...
Khaleesi Posted June 26, 2014 Share Posted June 26, 2014 http://gyazo.com/d68bedf0d589b186d3d3c91074eb081e Really? First go to the folder where your .java files are in You can do that by the command cd "mapname/lala/src", then do javac "javafilename".java Link to comment Share on other sites More sharing options...
PwneRL33T Posted June 26, 2014 Author Share Posted June 26, 2014 http://gyazo.com/d5ff1275c582e92c6d5d7f9c7d7c1c0b Link to comment Share on other sites More sharing options...
FrostBug Posted June 26, 2014 Share Posted June 26, 2014 http://gyazo.com/d68bedf0d589b186d3d3c91074eb081e Install JDK Link to comment Share on other sites More sharing options...
Khaleesi Posted June 26, 2014 Share Posted June 26, 2014 (edited) Install JDK Indeed Just get eclipse or intelliJ ... way faster ^^ Edited June 26, 2014 by Khaleesi Link to comment Share on other sites More sharing options...
PwneRL33T Posted June 26, 2014 Author Share Posted June 26, 2014 C:\Program Files\Java\jdk1.8.0_05 eclipse is nearly done now, but i dont understan what a map is, im in the path where my 2 .java files are located but it just cant find JDK or javac is not reconoized Link to comment Share on other sites More sharing options...
FrostBug Posted June 26, 2014 Share Posted June 26, 2014 (edited) Your system doesn't have your JDK properly registered. You can fix it by appending the path to your 'Path' environment variable for your system this can be done with the command: set Path=%Path%;{YOUR_JDK_PATH_HERE} example (don't use this path, use your own): set Path=%Path%;C:\Program Files\Java\jdk1.7.0_02\bin this should allow your system to recognize the javac command Edited June 26, 2014 by FrostBug Link to comment Share on other sites More sharing options...