home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1732
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old May 16th, 2005, 03:15 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: May 2005
Posts: 12
java.

i'm gonna learn java, but there's a problem which always coming back around.
i don't know how to start. i know i've to d/l the developer kit in sun.com, but there's to many type of java, like j2jse-x_x_x, j2sdk-x_x_x.... after i tried to d/l all and have a test one by one, there's still not working. i asked my friends, and knowing now that it can work with textpad (i use textpad 4.7). when i finish writing the java code, i press ctrl+1 to compile....save as .java with the same file name with the class name, and then ctrl+2,to run it.,.....

is everything i do is under the procedure?

how many type of java is there? how to make the object one?
later i'll send the the code to make sure that it's not the problem on the code.... but on the software i use....

thnx for help.....

dingdong is offline   Reply With Quote
Old May 16th, 2005, 04:08 AM     #2 (permalink)
Ultimate Member
 
rpertusio's Avatar
 
Join Date: Nov 2002
Location: Hershey, PA
Posts: 1,349
Send a message via AIM to rpertusio
You'll want the 'j2sdk' one.

Actually, may I stop you in your tracks and direct you to a really nice free program?
Borland Jbuilder Foundation

be SURE to get the 'Foundation' version, it is free!

- Rp
__________________
~ Join Rosetta@Home: http://www.techimo.com/forum/t155778.html
* Stuff I'm selling: www.resellerratings.com/forum/t112343.html

rpertusio is offline   Reply With Quote
Old May 17th, 2005, 12:04 AM     #3 (permalink)
Member
 
Join Date: Feb 2004
Posts: 59
When you go to the website on sun, this is the link I used right here

It's the latest version of Java. You can of course use textpad with it. Let me know if you still can't compile.

crobat is offline   Reply With Quote
Old May 17th, 2005, 12:06 AM     #4 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
Eww, I would not use that SDK.

Go with Eclipse.


-Blaze
Blazer06 is offline   Reply With Quote
Old May 17th, 2005, 01:29 AM     #5 (permalink)
Member
 
Join Date: Feb 2004
Posts: 59
*slaps forehead* Yes. Use Eclipse. I don't know if it's standalone without the SDK from the link that I listed, but heck that's what experimenting is for.
crobat is offline   Reply With Quote
Old May 17th, 2005, 01:47 AM     #6 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
If you want the real java, get the SDK.
Unless you are doing stuff with CVS, eclipse is a burdensome POS IMO. Although personally I think all IDE's are overkill unless its a big group project. Just use a text editor and learn how to program/compile the real way. I think its also only fully up to date with Java 1.4, 1.5 has some nice improvements worth learning.

If you want help with any coding just throw me a PM.
VHockey86 is offline   Reply With Quote
Old May 17th, 2005, 07:45 PM     #7 (permalink)
Member
 
Join Date: Feb 2004
Posts: 59
Just some FYI, the current Eclipse supports Java 5.0 (or 1.5, though it was renamed by Sun as 5.0 for some reason).

What VHockey is trying to say (with some subjectivity) is you have some choices on how to develop Java code.
crobat is offline   Reply With Quote
Old May 17th, 2005, 07:58 PM     #8 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
Thank you for pointing that out crobat, I was unaware of the Eclipse update.

My recommendation (in perhaps a less-ranting style this time around) would be to download the SDK and give it a try. If you find it a pain, try out an IDE like eclipse.

Myself, in windows I use the SDK and 'TextPad'
In linux I use xemacs and the command line to compile.
VHockey86 is offline   Reply With Quote
Old May 17th, 2005, 07:59 PM     #9 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
Quote:
Originally Posted by VHockey86
If you want the real java, get the SDK.
Unless you are doing stuff with CVS, eclipse is a burdensome POS IMO. Although personally I think all IDE's are overkill unless its a big group project. Just use a text editor and learn how to program/compile the real way. I think its also only fully up to date with Java 1.4, 1.5 has some nice improvements worth learning.

If you want help with any coding just throw me a PM.
I guess it depends how you code, I find that the Eclipse IDE is great, especially for people new to Java like I was a year and a half ago. The reason why, is because then you have error reporting as you type, so if you write something wrong, you know.

Also helps you save a lot of time because you don’t need to keep recompiling code all the time, just to find you have some sort of stupid error.

But, to each his own. I like the Eclipse IDE for other reasons, but I would definitely recommend using that first before trying to use a notepad / command line interface, until the person can code a substantial program.


-Blaze
Blazer06 is offline   Reply With Quote
Old May 17th, 2005, 08:06 PM     #10 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
I guess, but he java compiler is pretty rediculous. Its not like some standard C and C++ errors where you have no idea where it is. It basically tells you "insert semicolon after line 87...". I think you learn faster if you get annoyed by it not compiling and having to fix it =).

As many smaller programs and I tend to write, I just find the whole "setup a project" thing to be overkill. I don't need an entire source/distribution subdirectory structure for 1 or 2 source files.

As previously stated, to each his own. I was just trying to give my recommendation for someone starting out, presumably on smaller things not to be burdened by learning a software package on top of the language itself.
VHockey86 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help! Java hello23518 Applications and Operating Systems 2 November 23rd, 2003 02:39 AM
Java anyone? Maxamillion Suggestion Box 0 November 16th, 2003 02:15 PM
Java.... ILC Webmastering and Programming 3 February 4th, 2003 11:33 PM
JAVA help please? Martoch Webmastering and Programming 5 February 4th, 2003 02:38 AM
Java for XP??!??!?!?! skybolt_1 Applications and Operating Systems 4 July 15th, 2002 11:45 AM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:42 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28