Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > JAVA SDK or JRE or VM?

JAVA SDK or JRE or VM?
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 29, 2003, 12:30 AM
 
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
Reply With Quote
Mar 29, 2003, 01:36 AM
 
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.
     
pnz999  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 29, 2003, 02:28 AM
 
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
Reply With Quote
Mar 29, 2003, 08:23 AM
 
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
Reply With Quote
Mar 29, 2003, 07:13 PM
 
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
Reply With Quote
Mar 30, 2003, 06:42 AM
 
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
Reply With Quote
Mar 30, 2003, 05:11 PM
 
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
Reply With Quote
Mar 31, 2003, 08:55 AM
 
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
Reply With Quote
Mar 31, 2003, 09:05 AM
 
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
Reply With Quote
Mar 31, 2003, 04:44 PM
 
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
     
pnz999  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Apr 1, 2003, 04:31 PM
 
"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
Reply With Quote
Apr 1, 2003, 05:22 PM
 
Where can I find, (download) Java 1.4.01 SDK?
Join for Free.


http://developer.apple.com/index.html
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2