Well, I decided to turn around with him and figure it out ... (then I saw that Brady Dowling published a link that explained in more detail what needs to be changed).
Anyway, I noticed a few things in Cloud9.
- Even after making changes and saving, it still wonβt compile correctly. I had to close the C9 session and go back. Then it will work.
- After compiling and trying to run the program, it did not automatically select the Java runner that I made. Therefore, if you encounter problems, make sure Java is selected in the console (or whatever you called it).
- You must compile and run separately. The view is annoying, but at least it works. Unlike C / C ++ in C9, it will not compile and run just by clicking "Run". If you do this, an error is generated indicating that .class does not exist. Just how to press F7 to build, then F5 starts up.
In any case, I took screenshots of what I had to change to make it work. In fact, only directories it searches for a .java file (right arrow) and the directory in which it searches / compiles a .class file (left arrow). Since I put .java and .class in the same directory (java), I just changed both to "java". In the links Brady and I posted, they used .bin (for .class) and src for (.java).
The first image is the Builder file (I called it javac), and the second is the Runner file (I called it Java).


In any case, I hope this helps someone. I really like the C9 and it is great for my newcomers at the moment. I like it when you can use different languages ββto see what I like, without having to switch applications. Real-time preview of HTML / CSS as brackets is another huge plus for me.
Hi
sockpuppet
source share