Hi I'm new to Raspberry (Pi 2) and would like to know (1) if it's feasible to develop simple JAVA apps in a development environment (Eclipse? Others?) or failing that from the command line. (2) a reference to installing whatever the answer is to #1. I don't have much/any experience installing packages/programs so a tutorial or instructions would be helpful.
I did search the site and came up with: Can Java / Android development be done with a Raspberry Pi 3?
However, notice he/she has a pi 3 and also is interested in Android development and possibly complicated applications. I have much simpler goals. I just want to (initially at least) program simple console apps for this course: https://www.coursera.org/learn/algorithms-part1/home/welcome . Compiling on the command line is an option. Recent events have suggested to me it's not a good idea to do personal projects on my work computer! And I happen to have a Raspberry Pi 2 kicking around gathering dust.
If you think this is more trouble than it's worth and I should be buying a cheap PC/ChromeBook/Linux system, by all means tell me so. The answer I referenced seems to lean that way. If you have a recommendation for a cheap laptop running some flavor of Linux, even better!