Help - Search - Members - Calendar
Full Version: Got eclipse 3.1 working
InsanelyMac Forum > Apple World > Applications
vvyytenk
Hi,

Download 'eclipse-SDK-3.1.1-macosx-carbon.tar.gz', and excute the attached shell script. It will extract eclipse under current folder and patch the swt jar with x86 version.

Then click the 'eclipse' icon will bring it up.
Gun-Food
Thank you very much. Runs great and faster then under my WinXP maschine!
Deuce
QUOTE(vvyytenk @ Nov 18 2005, 09:34 PM) *
Hi,

Download 'eclipse-SDK-3.1.1-macosx-carbon.tar.gz', and excute the attached shell script. It will extract eclipse under current folder and patch the swt jar with x86 version.

Then click the 'eclipse' icon will bring it up.



I'm getting compile errors.

cc -c -DSWT_VERSION=3139 -DCARBON -I /System/Library/Frameworks/JavaVM.framework/Headers swt.c
In file included from swt.c:12:
swt.h:23:17: jni.h: No such file or directory
In file included from swt.c:12:
swt.h:64: error: parse error before '*' token
swt.c:23: error: parse error before '*' token
swt.c: In function `throwOutOfMemory':
swt.c:24: error: `jclass' undeclared (first use in this function)
swt.c:24: error: (Each undeclared identifier is reported only once
swt.c:24: error: for each function it appears in.)
swt.c:24: error: parse error before "clazz"
swt.c:25: error: `clazz' undeclared (first use in this function)
swt.c:25: error: `NULL' undeclared (first use in this function)
swt.c:26: error: `env' undeclared (first use in this function)
make: *** [swt.o] Error 1
libswt-carbon-3139.jnilib : no such file or directory
libswt-pi-carbon-3139.jnilib : no such file or directory
libswt-webkit-carbon-3139.jnilib : no such file or directory

I'm assuming it's missing the jvm and Carbon includes. I pointed the makefile to the correct jvm include dir and downloaded Carbon SDK 1.6, but I couldn't get that to build either. What are the dependencies to get this to compile?

Thanks!
-nick
Gun-Food
Hmm, I just installed it like given in the first post.
Is it the same version?
I added the phpeclipse library with no problem. Now I try to install apache2 with php5 and mysql.
Very tricky. But it's another topic I think.
Deuce
QUOTE(Gun-Food @ Nov 22 2005, 10:52 AM) *
Hmm, I just installed it like given in the first post.
Is it the same version?
I added the phpeclipse library with no problem. Now I try to install apache2 with php5 and mysql.
Very tricky. But it's another topic I think.



Yep. Same version. sad.gif
Darth Android
I have a problem running the application. The patch script runs without errors (other than a whole bunch of "xyxyx is depreciated" messages), but when I launch eclipse it errors shortly after displaying the splash screen. I have attached the error log file, it seems I'm still having problems with the SWT loading. Any help would be appreciated
RHOS
this doesn't work for me, I get the following error:

./patch_swt.txt.sh: line 8: make: command not found
libswt-carbon-3139.jnilib : no such file or directory
libswt-pi-carbon-3139.jnilib : no such file or directory
libswt-webkit-carbon-3139.jnilib : no such file or directory


Does that mean I need to download make or a compiler or something?
blkblt
Go to the actual eclipse site. The newest 3.2 nightly is built universal.
nixblicker
I can't find it! Could you please post a link or a guide to find it on the eclipse page!!! biggrin.gif
nixblicker
Yeah! But the CDT is still PPC only!!! And I need that the most!
dripple
Heya... maybe I'm missing something (I'm shure that I do). blink.gif

I start tonight with 10.4.3 and JaS patches. Most topics say that this version has no Java-Support. So to get Eclipse to work, I have to change to another - newer - OS X version?

I really need Eclipse (and, of course, Tomcat) and at the moment I plan to setup a dual boot and have to use Windows only for developing... Switching complete to Mac OS would be nice!


Regards,
Dripple
nixblicker
I am using Eclipse 3.1 with CDT very frequently and it is working stable!
Also I am on 10.4.5 but it has JAVA-Support!

I have no idea about Tomcat!
dripple
QUOTE(nixblicker @ Mar 19 2006, 06:28 PM) *
I am using Eclipse 3.1 with CDT very frequently and it is working stable!
Also I am on 10.4.5 but it has JAVA-Support!

Thanx for your fast reply. I think i have to install Mac OS X first to look any further. Maybe 10.4.3 (because it's an developer release) is still shipped with a proper VM.

QUOTE(nixblicker @ Mar 19 2006, 06:28 PM) *
I have no idea about Tomcat!

If I can get Eclipse running, I do not worry about Tomcat. It's a pure Java-based server.

Has someone tried MySQL? That would be perfect to me, so I'm maybe able to switch completely to Mac OS X! And, just dreaming, a working CVS-server and I'll learn to fly! biggrin.gif
nixblicker
Havn't tried but there is an universal version of MySQL 5.0!

You will find it here: http://dev.mysql.com/downloads/mysql/5.0.html
dripple
Thanx, "nixblicker". This looks great.

Unfortunatly, my MacOSX won't install. mad.gif
I have to dig into this first.
dripple
So, here we go. MacOS is running and rock solid. Unbelievable! Now I try Eclipse. That would be really nice. If everythings works fine, I'll try to switch over completly to Mac OS in the end of the month.

QUOTE(blkblt @ Mar 3 2006, 08:37 PM) *
Go to the actual eclipse site. The newest 3.2 nightly is built universal.


Hmmm... The website states the download as PPC only, but it doesn't refer to the nightly build.
Any comments? Where to get the universal build?

dripple
nixblicker
Take a look at the post #10 in this thread! This leads you the a uild called 3.2M5a.
It also does not say Universal or Intel ut as I download the version the last time the binaries where universal!!
blkblt
Look at my link a few posts up.
dripple
Thanks for your advice!

I've took a look at Eclipse-Bugzilla and found a entry saying that the download page must be updated. So I started the download of 3.2 M5a.



dripple
iamreal2
Thanks a million!

Tough the .sh not working for initially, I understood the principle from it and then applied the newly 'make'-ed version of jnilib's. So now my eclipse and azureus both working like a charm~~~biggrin.gif

But only after this, I know I need to look for universal versions which are both available:D

Thanks anyway~ I'm gonna mainly work on my Mactel (Dell Dimension 5150) in future... Since Iv got both of these up and running~
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.