• Guest, we are doing a new map (refresh) for Herocraft. Gather your friends and get ready! Coming next Friday, 06/28/24 @ 7PM CT play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

JDK Setup Issue

Dazureus

Legacy Supporter 4
Joined
Jan 14, 2011
Location
Texas
I'm having one very specific problem (and apparently it's a common one) trying to get JDK working so that I can run java programs I create. This is on a computer running Vista (-spits on ground-). On all the tutorials I've come across, you need to set up an environment variable in System Properties to get the command-line to recognize "javac", which is the name of the compiler program that translates a .java file into bytecode (right?), something the computer can read. If I can't do that, I'm basically condemned to use Eclipse, which I'm having more trouble understanding than this basic stuff.

I'll setup a variable with the address of javac and everything seems to be in order, but when I try to use javac in the command-line it gives me an error- "javac is not recognized as an internal or external command, operable program or batch file." I can't seem to fidgit it into recognizing javac through any of your basic methods- close programs, re-open programs; do it from the administrator's account; reboot, or just clicking relevant things. I'm at a loss.

Now, I'll go ahead and say that I've spent a day or two on-and-off Googling up other cases of this and alternate methods, and I've come up with just about nothing. I'm of the opinion that one person's attention is worth roughly 25 Google results, which is why I'm asking. If anybody knows anything about this, I'd love to get a response.
 
Top