 |
 |
JAVA SDK or JRE or VM?
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2003
Status:
Offline
|
|
quick question, It is my first time programming in java on a mac. I mostly use windows with sun java 1.4.1 sdk as my compiler with JCREATOR
I recently download java 1.4.1 via software update. I was, just wondering, if I downloaded a java SDK or just a JAVA Virtual Machine.
When I type "java -version" in terminal... it says "java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)"
I want Java 1.4.1 compiler to compile my programm.. please help.
BTW. if you could kindly post the correct URL where I can find g++ GCC compilers for MAC OS X.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Aug 2002
Status:
Offline
|
|
You need to make sure you have the Developer Tools installed that came with your machine. Also, once you install Java 1.4.1, which is just the VM, then go to www.apple.com/developer/ and sign up for the free developer account. Once you have, then login in and download the Java 1.4.1 Developer Tools update.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2003
Status:
Offline
|
|
holy cow, for people with out-dated Developer Tool CD not Dec 2002...they need to download a 400 MB to get a single Java 1.4.01 compiler... wtf?
"You need to make sure you have the Developer Tools installed that came with your machine. Also, once you install Java 1.4.1, which is just the VM, then go to www.apple.com/developer/ and sign up for the free developer account. Once you have, then login in and download the Java 1.4.1 Developer Tools update"
Is this the ONLY options to get Java 1.4.01 compiler into my system because I dont really like Project Builder. (IMO) I prefer NetBeans or Eclispe.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
gcc 3.? and g++ are also part of the Developer install.
There are other alternatives but I don't know if they have any dependencies with the Developer Tools package:
http://www.versiontracker.com/dyn/moreinfo/macosx/13304
In regards to Java, I'm not sure of what you get when you update to 1.4.1 without the Dev Tools installed. I guess one to find out is just typing javac and see what message you get.

|
|
|
| |
|
|
|
 |
|
 |
|
Registered User
Join Date: Feb 2003
Status:
Offline
|
|
pnz999, you have just started Java development on the Macintosh. Just as Apple has upgraded, virtually all the Java Tools. So yes you need to download the 1.4.1 JVM then the Java 1.4.1 SDK, you will also need to install the Newest Developer Tools. Because they have some Java related apps:
- Jar Bundler
- Java-Browser
- Project Builder
- etc...
that needed to be updated to work with Java 1.4.1. I did the download on a modem it was almost 600mb b*i*t*c*h*i*n*g.
As for I prefer NetBeans or Eclipse both work fine on OSX, a little slow some say, but the next version of netbeans is supposed to get some major fixes to its GUI speed. Virtual all Java IDE's are made in Java so most have been running on OSX since the beginning of the Platform.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
Once you've got the dev tools and the Java SDK installed, you don't _have_ to use Project Builder - Netbeans and Eclipse work fine in OS X.
|
|
[vash:~] banana% killall killall
Terminated
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2003
Location: Jersey City, NJ
Status:
Offline
|
|
Eclipse 2.1 is just released over the weekend. If you are writing a new Java application, I'd recommend using Netbeans framework and keep adding your own modules...very extensible!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Just a point of order. If you don't want to use Apple's GUI tools, all you need is Apple's Java JDK/SDK 1.4. You don't need the developer tools unless you want to use Interface Builder/Project Builder/etc. If all you need is headers and 'javac', just get the smaller JDK update.
BTW, thanks for the heads-up on Eclipse. Eclipse rocks!
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
OS X comes with the Java SDK.
The dev tools are NOT required.
Just type javac at the command prompt, just like any other *nix.
|
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Originally posted by Kristoff:
OS X comes with the Java SDK.
The dev tools are NOT required.
Just type javac at the command prompt, just like any other *nix.
10.2 comes with the 1.3.1 jdk. If you want 1.4.1 you gotta download it.
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2003
Status:
Offline
|
|
"10.2 comes with the 1.3.1 jdk. If you want 1.4.1 you gotta download it."
Via software update of Java 1.4.01 is not a Java SDK. Where can I find, (download) Java 1.4.01 SDK?
|
|
|
| |
|
|
|
 |
|
 |
|
Registered User
Join Date: Feb 2003
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|