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 Dev on MacOS X

Java Dev on MacOS X
Thread Tools
Junior Member
Join Date: Sep 2000
Location: Tempe, Az USA
Status: Offline
Reply With Quote
Sep 19, 2000, 09:49 PM
 
Hi-
For school I need to do java 1.2 dev. I know that OS X is going to support 1.2 but will it come with the standard javac and java? Or will I just have to use project builder. Also will the java3d api's be supported? What about the java sound api? Thanks for the info.

P.S. For cd burning would it be possible to compile cdrecord from unix? It requires some scsi libs that im not sure exist on macos x. Does anyone know what lib's these are and if they are present on OS X.
     
Basil Bourque
Guest
Status:
Reply With Quote
Sep 20, 2000, 01:32 AM
 
Yes, the good news is that all the standard command-line tools, such as "java", "javac", etc. are all bundled on the Public Beta.

You may also be able to run IDEs such as NetBeans/Forte and JBuilder, though I've not yet confirmed that.

For more info about Java on Mac OS X Public Beta, see my web page: http://www.rainwatersoft.com/java4u/...c_x/index.html
     
Basil Bourque
Guest
Status:
Reply With Quote
Sep 20, 2000, 02:11 AM
 
Also, the NeXT-legacy tools such as Project Builder are _not_ bundled on the Public Beta. Members of Apple's developer programs are being shipped this week a separate CD-ROM with those tools. Supposedly they will be also be available for download next month, free of cost.

As far as the APIs such as Java3D and sound, that is a mixed bag. The Java Virtual Machine (JVM) is from Java2 v1.3 including the HotSpot technology, but the libaries/APIs are a mixture of mostly Java2 v1.2 with some of the v1.3 stuff. Apple has committed to having a full v1.3 by the final release of Mac OS X, but they are not yet there.

Tip: you may want to join Apple's MRJ mailing list for ongoing discussion of Java development. Again, see my website above for links.
     
Nick Birch
Guest
Status:
Reply With Quote
Sep 21, 2000, 03:59 AM
 
Any ideas where to get MRJAppBuilder for OSX?

Its mentioned at http://developer.apple.com/techpubs/...otes/Java.html but not obviously available any where (previous versions are included in the SDK). Do I just have to wait for next month?

Alternatively, is there a way to make double clickable icon run a shell script?
     
JonConradt
Guest
Status:
Reply With Quote
Sep 21, 2000, 11:36 PM
 
The Netbeans (www.netbeans.org) IDE mostly works. Use the Stable build (build 4). I downloaded the .zip file and ran unzip on it. Then cd to netbeans/bin and execute:

./runide.sh -jdkhome /usr

The only problem I have seen so far is that all of the fonts are smashed to the left in the editor. Unfortunately this makes the editor unusable.

This would be a good bug to report. It appears that the FontMetric is not being returned properly for the default font. So the editor does not know what to do.

The IDE is reasonably fast, but expect to use a lot of RAM. More than 256M appears to be a good starting point.

Jon
     
jhays@doane.edu
Guest
Status:
Reply With Quote
Sep 22, 2000, 02:25 AM
 
I've been working on some applets for a class project. These applets are nothing fancy, but they do utilize swing components such as JLabel and JTextField. I've yet to have any luck getting these applets to work with the appletviewer in OS X. I can run these same applets in the Mac OS 9 JVM. Has anyone else had such problems. Is there a work around, or do I just need patience

James

     
Junior Member
Join Date: Sep 2000
Location: Sweden
Status: Offline
Reply With Quote
Sep 22, 2000, 08:46 AM
 
You didn't say much of why you cant run your applet, do you include all the classes?
     
jhays@doane.edu
Guest
Status:
Reply With Quote
Sep 23, 2000, 10:35 AM
 
Originally posted by itpga:
You didn't say much of why you cant run your applet, do you include all the classes?
Sorry, Actually it's just one class file. When I run the .html with appletviewer it says the applet is loaded and running, but nothing ever appears on in the applet container. This same class file works fine in OS 9 with swing components added.

James
     
Junior Member
Join Date: Apr 2000
Status: Offline
Reply With Quote
Sep 24, 2000, 10:15 AM
 
I can only find build 5. I've downloaded it but can't seem to unzip. How did you unzip Build 4?

Thanks,

- JT -

Originally posted by JonConradt:
The Netbeans (www.netbeans.org) IDE mostly works. Use the Stable build (build 4). I downloaded the .zip file and ran unzip on it. Then cd to netbeans/bin and execute:

./runide.sh -jdkhome /usr

The only problem I have seen so far is that all of the fonts are smashed to the left in the editor. Unfortunately this makes the editor unusable.

This would be a good bug to report. It appears that the FontMetric is not being returned properly for the default font. So the editor does not know what to do.

The IDE is reasonably fast, but expect to use a lot of RAM. More than 256M appears to be a good starting point.

Jon
     
jhays@doane.edu
Guest
Status:
Reply With Quote
Sep 24, 2000, 11:42 AM
 
There are two ways that I've found for unzipping files. With PB, stuffit expander shipped. This app, under utilities:aladdin, has done a good job of unzipping for me. In DP4, I used the terminal window with the command unzip FILENAME, where FILENAME is the path/name of the file you wish to unzip.

Originally posted by chengjt:
I can only find build 5. I've downloaded it but can't seem to unzip. How did you unzip Build 4?

Thanks,

- JT -

     
   
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:07 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