• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there an online sandbox environment for compiling and running java?

 
Igor Mechnikov
Ranch Hand
Posts: 100
Chrome Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case available computer does not have java installed it might help to have some sort of a web app that allows to try out code in a browser.
I think this might be useful for learning Java.
Perhaps something along these lines: http://codepad.org/
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there is; please search. Somebody posted a link to such an environment which they had developed, about two months ago, but I can't remember where. I tried it and found errors in its behaviour with Exceptions.
 
Joshua Barrett
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Yes, there is; please search. Somebody posted a link to such an environment which they had developed, about two months ago, but I can't remember where. I tried it and found errors in its behaviour with Exceptions.


http://browxy.com:9000/codeRunner

Is this the one you were refering to?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I think it was. I tried something which I expected would throw an Exception, possibly an ArrayIndexOutOfBoundsException because there were no command-line arguments, and did not suffer the expected Exception. I can't seem to find the old thread, however.
 
Igor Mechnikov
Ranch Hand
Posts: 100
Chrome Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See here for some related discussion on browxy.com: http://www.coderanch.com/t/524600/java/java/New-Free-Online-Java-Compiler
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Ulf. That old thread does indeed show where I got the wrong Exception.
 
David Bremmen
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! browxy URL changed to http://www.browxy.com. There is a new beta version where you can run interactive programs (like the ones that use Scanner). Also run applets, save, edit and also publish your code to a public url
 
Gokul Nanthakumar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try JDoodle.com, you run save share java program online in this. it gives nice list of your recently executed list as well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic