[CALUG] Worked out well (was: Re: Eclipse 3.4 with CDT 5.0?)

Ed Browne edward_d_browne at yahoo.com
Sun Sep 14 05:03:03 EDT 2008


Thanks to all who helped, it all worked out well, 
and surprisingly painlessly in the end (everything's
easy when you know how.)  I got Sun Java 6, and 
I launch it (eclipse 3.4) like so:

~> /opt/eclipse/eclipse -vm /usr/lib/jvm/java-6-sun-1.6.0.06/jre/bin/java

and it runs just fine (although I did get immediate
fatal, and puzzling, errors - until I remembered to
wipe the residue of previous attempts in ~/.eclipse)
Although I did have to augment the initial eclipse
download by pointing help->software updates to
http://download.eclipse.org/tools/cdt/releases/ganymede
and add all the CDT tools (i.e. they were not in
eclipse-cpp-ganymede-linux-gtk.tar.)
-
Thanks again for all the help - Ed 



----- Original Message ----
From: Jim Sansing <jjsansing at verizon.net>
To: calug at unknownlamer.org
Sent: Wednesday, September 10, 2008 11:17:58 PM
Subject: Re: [CALUG] Eclipse 3.4 with CDT 5.0?

I understand and agree with everything you say.  However,
Tomcat is a simple application compared to Eclipse.  Unless
you are doing some crazy, interactive multimedia from your
website, you're basically working with text, files, and maybe
some database.  Eclipse, on the other hand, is using graphics,
builds SWT apps, and a few of the plugins get into crazy,
interactive multimedia.

I haven't upgraded to Kubuntu 8, but I'm pretty sure that gcj
is still the default JRE.  It works great, up to a point, but like
many FOSS apps, the project has had some difficulty getting
specs, and definitely isn't getting much corporate support.  So
they are pretty far behind the bleeding edge.  This means that
the Eclipse package for your distro should work OK.  But if
you download directly from Eclipse.org, you'd better roll up
your sleeves.

The "it's about time" good news is that Sun has finally GPL'ed
Java.  However, from my reading, some parts could not be, so
it will still be at least one more release before Free distros will
be able to use it in its entirety.  It has been available in the non-free
repositories for as long as I have used Debian and *buntu, so I
think that the main issue is licensing.  However, I wonder if the
GNU/Linux distros will continue to use gcj as the default, out of
loyalty.

The other one to watch is Kaffe.  I haven't used it, but from
what I have read, it has been able to take advantage of Sun
Java being GPL'ed to speed up development.  I believe it's
mostly a RedHat project, which isn't be bad for Debian based
distros, but the packaging is a little different from RPMs.

Later . . .   Jim


Keith wrote:
> Since Sun's movement towards making Java open source, the Sun Java
> packages have been a part of the standard repositories in Ubuntu. Just
> look for the packages starting with sun-java*. Both java5 & java 6 are
> listed. If you have gcj installed already, installing a sun-java*
> package will set it to be removed.
>
> I've been running Tomcat on an Ubuntu-LTS machine (first 6.04, then
> 8.04) for almost a year now with no problems what-so-ever.
>
> Keith
>
> On Wed, Sep 10, 2008 at 2:55 PM, Jim Sansing <jjsansing at verizon.net> wrote:
>  
>> Googling for it talks around the problem, but an older similar
>> problem suggests upgrading the Java runtime.  Since you are
>> running Ubuntu, I am assuming your Java is gcj.  I have been
>> able to run Eclipse with that, but when I installed Sun Java, it
>> ran lightyears faster.  I have also had some issues where gcj
>> doesn't work at all, specifically when using SSL.
>>
>> If you haven't played with this before, brace yourself.  I had to
>> use 'update-alternatives' to set a dozen links to point to Sun java.
>> Read the man page carefully! Also, the /etc/eclipse/java_home
>> file is like a PATH environment variable for JREs.
>>
>> Later . . .   Jim
>>
>>
>> Ed Browne wrote:
>>    
>>> Hi Ray,
>>>     Thanks for the reply.  I tried that, but it just crashes on startup
>>> (in typical java fashion spewing 100 lines to the screen and 1100
>>> to the error log), I can't make heads or tails of it (besides, nobody
>>> expects to debut a serious product like this right out of the box.)
>>> FWIW, here's the lines from the screen and a few of the lines from
>>> the error log.  Thanks - Ed
>>>
>>> bongo:~> /opt/eclipse/eclipse
>>> org.osgi.framework.BundleException: State change in progress for
>>> bundle
>>> "reference:file:plugins/org.eclipse.equinox.p2.reconciler.dropins_1.0.0.v20080611.jar"
>>> by thread "Start Level Event Dispatcher".
>>>    ...
>>> -------------------------------
>>>
>>> root at bongo:/home/edbrown/.eclipse/org.eclipse.platform_3.4.0_1473617060/configuration#
>>> more 1221069352918.log
>>> !SESSION 2008-09-10 18:55:52.294
>>> -----------------------------------------------
>>> eclipse.buildId=I20080617-2000
>>> java.fullversion=GNU libgcj 4.2.3 (Ubuntu 4.2.3-2ubuntu6)
>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
>>> Command-line arguments:  -os linux -ws gtk -arch x86
>>>
>>> !ENTRY org.eclipse.core.runtime.compatibility 4 0 2008-09-10 18:56:58.416
>>> !MESSAGE
>>> !STACK 0
>>> org.osgi.framework.BundleException: Exception in
>>> org.eclipse.core.internal.plugins.CompatibilityActivator.stop() of
>>> bundle org
>>> ...
>>>
>>>
>>>
>>> ----- Original Message ----
>>> From: Ray Lischner <linux at tempest-sw.com>
>>> To: calug at unknownlamer.org
>>> Sent: Wednesday, September 10, 2008 4:35:39 AM
>>> Subject: Re: [CALUG] Eclipse 3.4 with CDT 5.0?
>>>
>>> On Tuesday 09 September 2008 03:38 pm, Ed Browne wrote:
>>>
>>>      
>>>> Has anyone sucessfully installed Eclipse 3.4 with CDT5.0?
>>>>        
>>> I simply went to the Downloads page and chose Eclipse IDE for C/C++
>>> Developers. The file is eclipse-cpp-ganymede-linux-gtk.tar.gz. I simply
>>> untared it in /opt, and I can run /opt/eclipse/eclipse just fine.
>>>
>>> I did NOT try to update Europa.
>>> --
>>> Ray Lischner
>>>
>>>
>>> _______________________________________________
>>> CALUG mailing list
>>> CALUG at unknownlamer.org <mailto:CALUG at unknownlamer.org>
>>> http://lists.unknownlamer.org/listinfo/calug
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> CALUG mailing list
>>> CALUG at unknownlamer.org
>>> http://lists.unknownlamer.org/listinfo/calug
>>>
>>>      
>> _______________________________________________
>> CALUG mailing list
>> CALUG at unknownlamer.org
>> http://lists.unknownlamer.org/listinfo/calug
>>
>>    
>
> _______________________________________________
> CALUG mailing list
> CALUG at unknownlamer.org
> http://lists.unknownlamer.org/listinfo/calug
>
>  

_______________________________________________
CALUG mailing list
CALUG at unknownlamer.org
http://lists.unknownlamer.org/listinfo/calug



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unknownlamer.org/pipermail/calug/attachments/20080914/7e58c6c4/attachment.htm 


More information about the CALUG mailing list