Java Java Java Java...n00b!

magomago

Lifer
Sep 28, 2002
10,973
14
76
After looking around and seriously considering languages such as Delphi and after asking questions here, CV, and many other places I've come to the conclusion that "Java" might be the best programming choice for beginners out there (Hell last year our school dropped VB in favor of Java).

So I had Java on my machine previously on my machine (I had downloaded some 12 meg file from Sun's website) and then I did more searching and it seems that "Eclipse" is the best thing to use to create Java Programs. Also based on the reccomendation of another friend I download JCreator.

So now I go to gamedeveloper (the site in that other thread) a few days ago and they have like 5 different versions of Java.

I thought Java had one version? What did I download that was ~65 megabytes large? I am confused Any help?

Basically I'm looking for what version of Java I would be coding in (I want to create stand alone programs) and tutorials for teh n00b because it seems there is a wealth of info out there but a lot of it address Javascript and specific uses of it...like code snippets. I'm just loooking for "Hello World!" type programs as I make trivial programs that do nothing but amuse myself
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Javascript is not in any way related to Java. Ignore all things javascript. YOu want the Java SDK (software Development Kit), the java runtime will let you run software that other people have written, but it wont let you compile your own programs.

A simple "hello World!" app would look something like this:

import java.io.*;

class helloWorld{

public static void main(String args[]) {
System.out.println("Hello World!");
}

}

Here's where to get the latest Java SDK
 

Buddha Bart

Diamond Member
Oct 11, 1999
3,064
0
0
If you already have some programming experience (even if its something like perl or php) Try a book like "Learn Java in 30 days" from Sams.

The world of Java is nearly infinitely large, so it kinda depends on what you want to do with it.
 

RaynorWolfcastle

Diamond Member
Feb 8, 2001
8,968
16
81
Java is better than C# because:
- Sun's IDE is free
- it's more portable

C# is better than Java because:
- Sun's IDE crashes all the time and is generally a pain in the ass to work with
- VS.NET is much, much more polished then Sun One.
- Windows Forms are better than swing (though obviously not portable)
- Has almost all the Java OOP features and adds a bunch of new ones

<-- prefers C# to Java
 

Kilrsat

Golden Member
Jul 16, 2001
1,072
0
0
Originally posted by: RaynorWolfcastle
Java is better than C# because:
- Sun's IDE is free
- it's more portable

C# is better than Java because:
- Sun's IDE crashes all the time and is generally a pain in the ass to work with
- VS.NET is much, much more polished then Sun One.
- Windows Forms are better than swing (though obviously not portable)
- Has almost all the Java OOP features and adds a bunch of new ones

<-- prefers C# to Java

Who uses an IDE? Textpad never crashes on me

Yes, VS.NET is polished, some annoyances, but it gets the job done.

Umm... Swing GUIs are skin/theme-able out of the box. Benefit of windows form is transparency and odd-shapes (although you can created strange shaped swing GUIs, but they only work on windows). I don't think there is a "this one is better".
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: RaynorWolfcastle
Java is better than C# because:
- Sun's IDE is free
- it's more portable

C# is better than Java because:
- Sun's IDE crashes all the time and is generally a pain in the ass to work with
- VS.NET is much, much more polished then Sun One.
- Windows Forms are better than swing (though obviously not portable)
- Has almost all the Java OOP features and adds a bunch of new ones

<-- prefers C# to Java

Oh yeah?
 

Softballslug

Senior member
Feb 22, 2000
397
0
0
Originally posted by: RaynorWolfcastle
Java is better than C# because: - Sun's IDE is free - it's more portable C# is better than Java because: - Sun's IDE crashes all the time and is generally a pain in the ass to work with - VS.NET is much, much more polished then Sun One. - Windows Forms are better than swing (though obviously not portable) - Has almost all the Java OOP features and adds a bunch of new ones <-- prefers C# to Java

Your rational about your choice makes me laugh! What does the development environment have to do with the language? Sun's IDE is Not the only ide in the world. To make a choice on a programming language based on the IDE is ridiculous...
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Descartes
Originally posted by: RaynorWolfcastle
Java is better than C# because:
- Sun's IDE is free
- it's more portable

C# is better than Java because:
- Sun's IDE crashes all the time and is generally a pain in the ass to work with
- VS.NET is much, much more polished then Sun One.
- Windows Forms are better than swing (though obviously not portable)
- Has almost all the Java OOP features and adds a bunch of new ones

<-- prefers C# to Java

Oh yeah?

Ok, so you can program in different gui toolkits with it. You still have to rewrite the gui stuff for each one. Swing works the same everywhere.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: BingBongWongFooey
Originally posted by: Descartes
Originally posted by: RaynorWolfcastle
Java is better than C# because:
- Sun's IDE is free
- it's more portable

C# is better than Java because:
- Sun's IDE crashes all the time and is generally a pain in the ass to work with
- VS.NET is much, much more polished then Sun One.
- Windows Forms are better than swing (though obviously not portable)
- Has almost all the Java OOP features and adds a bunch of new ones

<-- prefers C# to Java

Oh yeah?

Ok, so you can program in different gui toolkits with it. You still have to rewrite the gui stuff for each one. Swing works the same everywhere.

Umm, the Windows Forms classes are delegated to Gtk#, you don't actually make calls to Gtk# yourself.
 

RaynorWolfcastle

Diamond Member
Feb 8, 2001
8,968
16
81
Originally posted by: Softballslug
Originally posted by: RaynorWolfcastle
Java is better than C# because: - Sun's IDE is free - it's more portable C# is better than Java because: - Sun's IDE crashes all the time and is generally a pain in the ass to work with - VS.NET is much, much more polished then Sun One. - Windows Forms are better than swing (though obviously not portable) - Has almost all the Java OOP features and adds a bunch of new ones <-- prefers C# to Java

Your rational about your choice makes me laugh! What does the development environment have to do with the language? Sun's IDE is Not the only ide in the world. To make a choice on a programming language based on the IDE is ridiculous...

I am the first to admit that my rationale for choosing C# over Java is not entirely based on the language. That being said, I took a class to learn Java after I taught myself OOP basics using C# and I was really missing some C# features when I learned Java.

Operator overloading was the most notable exception: sure they're not necessary but they're so handy and make code easier to follow. Also, C#'s "properties" are great as they standardize (using set/get) a commonly used part of OOP. There are a few others that I can't remember off the top of my head that it always bothers me that I can't use when I write Java code.

As for the Windows Forms comments: I was not aware of the development efforts to let Windows Forms code work on other platforms. I did however mean that Microsoft didn't make them with cross-platform portability in mind.
 

mobogasm

Golden Member
Oct 25, 1999
1,033
0
0
Try Borland JBuilder for a great Java IDE. It's a resource hog, but it's sure sweet. The pro version is available for free download on borland's site.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |