Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Online IDE for total greenhorn?  RSS feed

 
Lynne Dixon
Greenhorn
Posts: 9
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just getting started learning Java, and the ancient linux laptop I was using crashed - which now leaves me without an IDE to do practice programming in (I had BlueJ installed on the now-dead laptop, as that was recommended to me).

So, what I have now is a Chromebook. Is there an online IDE that would work for a Java greenhorn on a Chromebook?

I've looked so far at Codenvy and Codeanywhere, but I'm lost already there. I don't mind ignoring all the power there until I'm ready to use it - and perhaps learning a great and powerful IDE while I'm learning. But for the next while, though, I need something simple enough (or a tutorial that explains the IDE simply enough) that I can concentrate on learning to code.

Any ideas?

 
Zachary Griggs
Ranch Hand
Posts: 83
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want something portable, just code it in notepad and run it via command line! No IDE needed. I'm not familiar with Chromebooks but they should have a command line?

If you want something online to compile java code with, you could try this: http://www.tutorialspoint.com/compile_java8_online.php
(but it's not really an "IDE", it won't save your work for you)
 
Lynne Dixon
Greenhorn
Posts: 9
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No command line on Chromebook, unless you hack it to install Ubuntu on it. I don't want to hack it. A Chromebook is essentially a Chrome browser machine. I love mine for what it can do - this just wasn't what I planned for it.

I will check out the online compiler. Thanks!
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
I have tried a few online Java® editors and I have not been happy with them. Some do not behave according to the Java® Language Specification.

You probably can get a terminal on a Chromebook, but I can't remember how to do it. I also don't know whether there is enough hard drive space to install Java®.
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That tutorials point online compiler is better than some I have seen.
 
Bill foster
Ranch Hand
Posts: 63
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this one it is Jdoodle: JDoodle
It actually compiles/executes at the same time. It works in a pinch and if you have a compiler error it will show it.
 
Lynne Dixon
Greenhorn
Posts: 9
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will any of the online IDEs (tutorialspoint, Jdoodle, etc) get me through Head First Java? At this point, that's all I really need - something that will allow me to do the example problems/programs in a book or study like that.

At some point I will buy another laptop I can put Linux and Java on. For now, I'm just hoping to make do with what i have (i.e., the Chromebook).

Here's one answer regarding the question about whether Java can be installed on Chromebooks (the quick answer is: no) - https://www.starryhope.com/chromebooks/faq/chromebook-java/
 
Knute Snortum
Sheriff
Posts: 4073
112
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will any of the online IDEs (tutorialspoint, Jdoodle, etc) get me through Head First Java?

From what I can see, TutorialsPoint will and JDoodle almost will, but not quite. The problem with JDoodle is that you can't change the class name and signature so you can't implement or extend anything.
 
Bill foster
Ranch Hand
Posts: 63
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that I thought JDooldle does not let you change the class name, but if you are working on nested classes I think it will work.
 
Bill foster
Ranch Hand
Posts: 63
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that I thought JDooldle did the trick. You are right it does not let you change the class name, but if you are working on nested classes I think it will work. You would have to use MyClass as the outer class.

Also if you want to just enter code to test it you can certainly use it (for, while loops and bits of other code).

Just another tool in your tool box you can use!

Sorry for the confusion.
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not convinced that you should be using nested classes as a beginner.

I did some searching and found you might be able to run Java® on your Chromebook: 1 2. It doesn't seem easy.
 
Lynne Dixon
Greenhorn
Posts: 9
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote: I did some searching and found you might be able to run Java® on your Chromebook: 1 2. It doesn't seem easy.


That looks downright scary. I only like to do scary stuff on tech that's about to die anyway. This Chromebook is still too pretty to hack ;-)

I'm going to give TutorialsPoint a try (and some of the other one's, if it doesn't work). If it doesn't work, I will have to see about getting a cheap laptop sooner than I planned.
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lynne Dixon wrote:. . . I will have to see about getting a cheap laptop sooner than I planned.
I thought Chromebooks were themselves very inexpensive. Have you got a Pixel version?
I am quite sure you can't damage the Chromebook with that hack. You just lose some security features. And remember you can easily restore a Chromebook to all its original settings.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!