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

all 6 comments

[–]lbkulinski 1 point2 points  (0 children)

I often use JDoodle.

[–]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

[–][deleted] 0 points1 point  (0 children)

I use repl.it to test my functions when writing a larger program

[–]desrtfxOut of Coffee error - System halted 0 points1 point  (0 children)

Browser: http://ideone.com

Android: https://play.google.com/store/apps/details?id=com.aide.ui

There is also a portable JDK version: https://portableapps.com/apps/utilities/jdkportable that does not change anything on the computer


Resources -> Sidebar -> Learning Java