Am I retarded? New to java, How does SDK work?!? Help PLEASE!
I just downloaded the SDK. I noticed when I go to it throught the start menu, there is nothing but some documentation, no .exe. Where's the IDE, is there one, or do you just write code and send it through a compilier through DOS command lines, or is mine messed up? I just dont know. In search the files it installed to, I found alot of DOS based programs, but nothing GUI. Can someone help?!!!?
Thanks in advance
cout<<
[460 byte] By [
RukoKahn] at [2007-9-26 3:11:34]

Nope, the SDK doesn't come with an editor. You can write your code in notepad or something like that and compile it with:
javac MyFile.java(include .java extension)
Barring any errors, this will generate the class file MyFile.class. Run this with:
java MyFile(do NOT include the .class extension here)
Of course, for this to work, you must have your paths set correctly as described in the installation notes.
There are several packages you can get for writing code. Forte is a free IDE that can be downloaded from Sun (I haven't actually gotten this program to work for me). A simple free editor you can use is Jext (www.jext.org or .com or something like that). But you can always use Notepad and a command line as well.
Thanks alot!
That's what I figured, no GUI. That's ok, I miss DOS anyways. I've just been using VC and VB so long that my brain is fried, lol. Thanks again.
Anyone else who reads this post:
any pointers of good places to start as far as research material and such. Any good sites with some free source code? Thanks all
My suggestions are in this thread: http://forum.java.sun.com/thread.jsp?forum=54&thread=156449Rich
> But you can always use Notepad and a command line > as well.If you do this, I recommend turning the "hide file extensions" option off. Otherwise, you might name a file something like "MyClass.java.txt" without realizing it.
Or you can try the free Java IDE from Borland. Just go to their site and download JBuilder Personal. I'm using it right now and think it's pretty good.
Another good free IDE is JCreator ( http://www.jcreator.com)
i'm new to java too, but one site i found that seemed to have links to quite a bit of information was http://jguru.com
I am also new to Java so would be interested in exchanging ideas about getting started/diving deeper - also, given no professional prog. experience, ideas on breaking into the industry (fat chance?!).
You say you are familiar with DOS, so I assume you've used DOS Edit before. I have opted to use this over WordPad or NotePad because DOS Edit will automatically number the lines of code. Would appreciate opinions on using an IDE and whether it would take away from the learning experience...anyone out there with opinions on Borland's freebie JBuilder? (I think the last time I looked at a Borland product was when I studied Turbo Pascal!!!!..don't ask...)
For those of you new to DOS too, simply type "edit" at the command line to open the editor.
I look forward to tapping the collective expertise of this community, and hopefully can be resource in return!
thanks...
> I just downloaded the SDK. I noticed when I go to it
> throught the start menu, there is nothing but some
> documentation, no .exe. Where's the IDE, is there
> one, or do you just write code and send it through a
> compilier through DOS command lines, or is mine messed
> up? I just dont know. In search the files it
> installed to, I found alot of DOS based programs, but
> nothing GUI. Can someone help?!!!?
>
>
> Thanks in advance
>
> cout<<
If you are going to do anything windowed IDE's are very nice. I got Sun's Forte to work on linux, but I don't know how the windows version is. It works pretty smoothly, once you learn enough to undestand what you are doing building a window in the first place (thins like what a Layout Manager is and such). So I would suggest learning the basics, and after you have read through a chapter in some book that discusses layout managers, then get the IDE. I was totally intimidated when I downloaded Forte not knowing hardly anything about java :).
Thanks.
I have experience w/ Visual Basic so I guess I should have been able to answer that question for myself...I wouldn't want to build all that from scratch...
I had no luck w/ Forte on Windows (i've read in JDC somewhere someone else having probs w/ Forte for Win).
I'll check out JBuilder and see how that goes.
-b