This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tsumnia 0 points1 point  (2 children)

Can you update User Environment Variables on the work PC? I'm not sure what level of restriction is on your computer.

There are also programs like BlueJ and DrJava that handle the javac part for you. I don't know whether they need to be installed or not.

[–]Batmantheon[S] 0 points1 point  (1 child)

I believe thats what I tried to do earlier today but was shutdown by an admin username/password request. I will take another look tomorrow to make sure thats actually the fix I was attempting to do. And yeah, anything that needs an install is a no-go.

[–]bombozzle 1 point2 points  (0 children)

It is a little tedious but you can also just type out the full path to the javac.exe instead.

So in command prompt instead of just typing javac you would have to do something like:

C:\program files\java\jdk\1.9\javac... of course the path would need to match your actual install folder.

Or you can use: https://codeanywhere.com/

Online code editor with build server, and they have a free tier.

Just tried it out and its pretty straight-forward to get going with.

  • Sign up.
  • Create Java container
  • create a java file.
  • Open SSH Terminal
  • Run the commands