ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am taking a Java class this summer at the local comm college. I would like to use my laptop for the class, Slack 9.1 installed. But I am unsure what I need to install ..... another concern is the "Java Trap" I hear about. Is there no way to avoid using some proprietary Library's or Compilers, ie. Sun's JDK. Any help would be greatly appreciated.
Hi. If you're serious about learning Java and want to be productive and minimize your learning curve I'd suggest you come to terms with any concerns you ahve over proprietary code and just install the Sun JDK.
If you want to make life a little tougher, try using the Blackdown JDK (which is a few major versions behind IIRC).
As of Slack 9.1, the J2SDK is included (it's in the /d package), so if you did a full install or didn't explicitly deselect it during installation, you shouldn't need to install anything. Well, except for possibly an IDE, should you want that, but for a beginner I would recommend coding in an editor which doesn't do everything for you. They tend to be faster as well (most Java IDE's I've seen are written in Java, and so are painfully slow)...personally I use Kate.
I have checked out the Blackdown website and have downloaded their JDK. Some questions about that; Do I need to uninstall Sun's JDK or can I keep that in place? In Windoze sometimes you can't have the same type of program made by two different companies, so I guess my question really is will Sun's JDK and Blackdown's JDK live together? Should I worry about any cross-dependancy issues?
I have been using Linux for 3 years and still don't understand some things.
I'd guess aslong as your PATH variable and JAVA_HOME points to the installation you want to use, you wouldn't have a problem.
As for incompatibilities between code in Sun's and Blackdown's implementations of java, no doubt somewhere down the line there will be somethings not implemented in both platforms, just hazarding a guess as I've never used Blackdown, but thats my gut feeling.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.