New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Java programming


Post Reply New Thread Subscribe

 
Thread Tools
Conehead778

 
Conehead778's Avatar
 
Member Since: Jun 10, 2005
Posts: 181
Conehead778 will become famous soon enough
Mac Specs: Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4

Conehead778 is offline
Ok, I am in java at school and I need a compiler we are doing stand alone apps in java and I cant figure out how to use xcode to do it. I have opened the file in xcode and it doesnt give me the option to compile it. Any ideas?
QUOTE Thanks
Conehead778

 
Conehead778's Avatar
 
Member Since: Jun 10, 2005
Posts: 181
Conehead778 will become famous soon enough
Mac Specs: Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4

Conehead778 is offline
So i guess its a big mystery?
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 7,003
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
you probably need to get a specific compiler that your cs department is using. It would probably be much more convenient to just ssh to the department computers and use theri built in compilers

Don't forget to use the new User Reputation System
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I sounds to me like you just dragged a file to the XCode application. When I tried that, I couldn't compile either.

I would think you need to first create a Java project. Start XCode (I have 2.3), choose File -> New Project -> Java Tool and enter a name. It created a hello world source file. Then via the Project menu you can Add your existing source to the project. You might be able to drag it in also. You need to have the main window selected for that selection to be selectable.

You may want to join Apple's Java developer mailing list and ask the question there. Go to http://developer.apple.com/ and you'll see a link for Mailing Lists under Developer Support. Click on that and then on Lists hosted on this site on the next page. You want to join the java-dev list.

I can't be much more help, because I don't use Java.
QUOTE Thanks
nike7465

 
Member Since: May 03, 2006
Posts: 58
nike7465 is an unknown at this point

nike7465 is offline
go to www.versiontracker.com and download blue j.

nike7465 - aim

nikeair17@mac.com - email

MBP 15 1/2
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
1. Use javac from the Terminal. This is the one compiler that every OS has, so you should be familiar with it

2. When you outgrow that, download Eclipse. Practically everyone doing Java development uses it.
QUOTE Thanks

Post Reply New Thread Subscribe


« shell script xml | Learn a langauge to learn another »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Java update 1.4.1 is out rman OS X - Operating System 1 04-30-2006 01:05 PM
Java From Terminal jdgti OS X - Development and Darwin 10 03-26-2005 07:16 PM
Apple posts QuickTime for Java update 6.4 Murlyn Running Windows (or anything else) on your Mac 0 10-24-2003 11:06 AM
Apple Releases Java Update schweb Apple Rumors and Reports 0 09-08-2003 06:23 PM
Apple Releases Java 1.4.1 Graphite Apple Rumors and Reports 5 03-10-2003 07:52 PM

All times are GMT -4. The time now is 12:38 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?