Tommy M McGuire <[EMAIL PROTECTED]> writes:

> I am a new user, and I'm having a strange problem.  I cannot find 
> anything (very much) like it mentioned in the archives.
>
> I am installing EclipseME in Eclipse 3.1.2 on Ubuntu Linux 6.0.6 
> (Eclipse installed from the default package) with the Sun WTK2.2 
> (downloaded and installed as me).  Everything goes well until I import 
> the device definitions.  It locates the correct four devices and I 
> clicked on "OK".

By default, Ubuntu uses gcj as the Java implementation.  It works
otherwise with Eclipse, but it doesn't seem to work with EclipseME (I
had the same problem as you did).  So using EclipseME requires you to
use Sun's Java.

You can change the Java that Eclipse uses by creating a
~/.eclipse/eclipserc file that sets the JAVA_HOME to point to the
correct directory.  For instance, my file contains

JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
VMARGS="-Xmx256M"

The JAVA_HOME directory here is where the sun-java5-jdk package gets
installed.  As you see, you can also give arguments to the virtual
machine, and there are probably a load of other things you can set as
well.

-- 
Jaakko Kangasharju, Helsinki Institute for Information Technology
Slashdot: A fundamentalist anti-science anti-technology site
for people who are qualified to watch someone else install Debian


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to