Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 25, 2004, 02:37 AM   #1
stoid
macrumors 68040
 
stoid's Avatar
 
Join Date: Feb 2002
Location: So long, and thanks for all the fish!
Xcode, BlueJ, Eclipse

Currently for my programming courses, we are developing Java code within apps like BlueJ and Eclipse since they are cross-platform solutions, and the campus is all Windows based (ick). I am currently less than satisfied with the stability of BlueJ and the interface and power of both. I'm trying to get Xcode to work, but I don't know what kind of project I should tell it to start. Obviously BlueJ and Eclipse make use of a Java Virtual Machine for code execution. I can't seem to get this to work in Xcode. I'm just using standard Java code with basic javax.swing and java.awt interface components.
stoid is offline   0 Reply With Quote
Old Sep 25, 2004, 02:43 AM   #2
bousozoku
Moderator emeritus
 
Join Date: Jun 2002
Location: Gone but not forgotten.
If you're creating all the code yourself, choose the tool project as your template. This generally works for school classwork, no matter where it's C, C++, or Java.

The AWT and Swing projects are fine, if you're doing exactly what they planned but I haven't been able to use more than bits and pieces of one or the other. In fact, I create a dummy project and copy working code to help me get a prototype together more quickly and edit in jGrasp.
bousozoku is offline   0 Reply With Quote
Old Sep 25, 2004, 02:50 AM   #3
stoid
Thread Starter
macrumors 68040
 
stoid's Avatar
 
Join Date: Feb 2002
Location: So long, and thanks for all the fish!
I've copied in all of my code from the project I just finished today, recreated the classes and so forth. I'm getting a 'can not instantiate Java Virtual Machine' message and a dummy swing window though whenever I click Build & Run.
stoid is offline   0 Reply With Quote
Old Sep 25, 2004, 03:11 AM   #4
MacFan26
macrumors 65816
 
MacFan26's Avatar
 
Join Date: Jan 2003
Location: San Jose, California
Send a message via Yahoo to MacFan26
Do you get that same error when you try to run it only in XCode, or is it happening everywhere like in Eclipse? Did you just download the Java update? Hm, that could have something to do with it. I don't really think Eclipse is the best it could be, but I actually prefer it to XCode right now, at least for Java programs anyway. It tends to have really useful features that XCode just doesn't have.
__________________
15" i7 MacBook Pro antiglare, iPhone 4, 5G black iPod 60GB, iPod shuffle (red), new AppleTV
MacFan26 is offline   0 Reply With Quote
Old Sep 25, 2004, 09:25 AM   #5
stoid
Thread Starter
macrumors 68040
 
stoid's Avatar
 
Join Date: Feb 2002
Location: So long, and thanks for all the fish!
The code functions perfectly in BlueJ and Eclipse, but not in Xcode.
stoid is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Should I use Xcode or Eclipse for Android development? moonman239 Mac Programming 28 Jan 28, 2014 01:40 PM
Xcode 5 vs Eclipse moonman239 iPhone/iPad Programming 1 Sep 21, 2013 08:19 AM
Moving from xcode 3.2 to xcode 4.5.2 compilation error for 'abs' macro in stdlib.h hrishidev Mac Programming 7 Jun 2, 2013 10:36 AM
Alternatives to eclipse? sentinelsx Alternatives to iOS and iOS Devices 7 Mar 8, 2013 03:01 AM
BlueJ eric/ Mac Programming 2 Feb 2, 2013 12:44 PM

Forum Jump

All times are GMT -5. The time now is 05:06 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC