Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome! The TrekBBS is the number one place to chat about Star Trek with like-minded fans.
If you are not already a member then please register an account and join in the discussion!
If I remember correctly (not programmed in Java since uni) the best place is in the BIN directory where your program compiles to, but there are lots of clever ways to get the program to look elsewhere - and a config file you can edit to add all the extra locations.
I generally use Eclipse on a day to day basis so this is taken care of for me, but if you're compiling/running a Java class through the command line you need to use the -classpath option with java or javac. I believe the default classpath is your current directory and the directory in which the JDK/JRE binaries are located (your JAVA_HOME), but I could be mistaken. This has Windows info on the classpath. I'm sure there are pages for other OS's, it's just the first that came up for me.
Tell me more about what you're trying to do and I may be able to help