[java] J2SE, how do you use it? There's no IDE.

Started by
8 comments, last by capn_midnight 23 years, 6 months ago
My subject says it all. I downloaded J2SE from the sun website (40 frickin'' megs!), but I can''t figure out how to even begin using it. Wassup with that? I also downloaded the documentation, but my unzipper won''t unzip it for some reason.

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

Advertisement
There are a number of IDE's that you can obtain that will allow you to write Java 2 SE 1.3 code. The SDK you downloaded doesn't come with one. Technically you don't need an IDE to develop Java. You could write code in Notepad or some other text editor, run it through the Java compiler, and execute the resulting .CLASS file in the JVM via command line. All of the classes that make up the core of Java were included with that download and you can import various classes into your class to take advantage of their functionality.

But that is about as far as the Java 2 SE SDK will get you, and realistically writing code in a text editor is a laborious and frustrating experience.

I would recommend that you download the community edition of Forte - free from Sun's site. Its a little slow on some systems, but I think it will get you started.

I don't know what to tell you about the documentation. I have never heard of anyone who could not unzip them. Maybe the file wasn't completly downloaded or was corrupted in the process.

Edited by - Jerry Lynn on October 13, 2000 11:42:46 PM
quote:Original post by capn_midnight

but I can''t figure out how to even begin using it. Wassup with that?


If you can ask this, then you are really newbie. Start by reading a book on Java. It will tell you all you need to know.

And BTW. If Forte is too slow for you I think you should go for Borland JBuilder instead. The standard edition is free also.

Jacob Marner
Jacob Marner, M.Sc.Console Programmer, Deadline Games
quote:Original post by felonius

Original post by capn_midnight

but I can''t figure out how to even begin using it. Wassup with that?


If you can ask this, then you are really newbie. Start by reading a book on Java. It will tell you all you need to know.

And BTW. If Forte is too slow for you I think you should go for Borland JBuilder instead. The standard edition is free also.

Jacob Marner


I didn''t mean I hade now clue how to code java. I have lots of experience with java-script and C/C++ (mostly C), and I can easily find plenty of resources on Java itself, so that isn''t a problem. What I meant was, I know that supposedly you can compile using just the J2SE, but I didn''t have a clue how one would do that. Is it a command prompt thing, or do you drag and drop into the executable?
About the zip file not extracting, I think it''s because I''m using an old version of PKUnzip, I found it on one of the disks that came with my C compiler (borland C++ 4.52).
Dude, Borland JBuilder? Is it similar to Borland C++ (in interface, I mean). If it is, then that would be cool, because I love the Borland IDE (of course, I''ve never used anything else, so how would I know if I preffered it over something else).
If I get JBuilder, can I get just the IDE, or will I have to download the SDK along with it? Because that would be a total pain to have to download the SDK again along with something else.

Bowowow yipeeyo yipeeyay

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

I don''t know how much command line experience you have, but make sure the PATH variable in your autoexec.bat file contains the path to the jdk1.#/bin directory. Then, from the command line, you would compile a file called Hello.java like this:

javac Hello.java

The to run:

java Hello

There are several commandline parameters you can use for optimization, warnings, etc... If you can''t get the docs unzipped then either download WinZip or check out the online version at the Java homepage.
so what if he is a newbie? I''m kind of a newbie too. Buying a book is unlikely to help either, most books don''t focus on the details of getting things working, just the language itself. I have three java books, a C book, and a C++ book and only one of the books has anything at all about setup, even then it wouldn''t be enough to do anything.
From where did you download it?

On java.sun.com you can''t get to the download page without seeing a bunch of banners for IDEs that support whichever JDK you are downloading.

quote: Original post by capn_midnight

Is it a command prompt thing, or do you drag and drop into the executable?


I don''t mind newbies anonymous, we all were newbies some time.

But this thing about using Java, it is pretty basic and I don''t know what book anonymous have read. If you download the Java tutorial (or read it online) from java.sun.com then this is one of the first things that i explains - how to use the tools. Read that tutorial and you will get all the info you need. Come back afterwards.

And one more thing there are billions of Java books out there and almost all if them is a piece of s**t.

Here is tip when buying computer books. Look at the publisher. Find the publisher in the list below and if it is listed under good buy it, otherwise not.

Good publishers:
---------------------
IEEE
ACM
Springer-Verlag
Addison-Wesley
Prentice Hall
Morgan Kaufmann
MIT Press
Academic Press

Medium publishers:
---------------------
Microsoft Press (profesional series)
O''Reilly

Bad publishers (never buy these):
-----------------------------------
SAMS
M&T
Sybex
AP Professional
IDG

And of course, there are exceptions but go by this list as a rule of the thumb and you will be pretty sure to get serious book without a lot of nonsence.

If any of you have more publisher I can add to
my list please let me know.

Jacob Marner
Jacob Marner, M.Sc.Console Programmer, Deadline Games
yeah, I know, I saw all the banners for the IDE''s, but it mentioned paying and I don''t have a lot of money to spend on stuff (I just made a major transaction the other day, $7.50 for some CD''s).
Okay, I guess I could try the sun tutorial again. last time I tried to read it, it was like 5 pages straight trying to explain the concept of classes and how it applies to java and how wonderful java is and so on and so on...

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

Go get Thinking in Java. You should read it thoroughly. It will get you up to speed in no time.

This topic is closed to new replies.

Advertisement