Best it may be to start from Wikiversity (http://en.wikiversity.org/wiki/Topic:Java) that has some really well covered topics.
While it is possible to learn using basic command line tools, this may not make much sense when at least two good open source environments (Eclipse and NetBeans) are available.
Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.