[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using a workspace-based VM in Eclipse

From: Tom Tromey
Subject: Using a workspace-based VM in Eclipse
Date: 22 Dec 2005 12:34:42 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I've checked in the Eclipse jar builder to Classpath head, and now my
fakejdk project is available.  This means you can easily start playing
with an in-workspace VM in Eclipse.

To do this, follow the wiki instructions to check out and build
Classpath and Cacao (as always, this VM is chosen because all the
needed build bits are in its cvs repository... hint to the other VM

Once that is done, check out the fakejdk project from
:pserver:address@hidden:/cvs/rhug, module 'fakejdk'.
(This ought to auto-build, but if not, apply the usual Clean hack.)
This just makes a little project consisting of symlinks -- it is a
huge hack.

Now, go to Window->Preferences->Java->Installed JREs and choose
'Add...' to add a new one.  I named mine "Cacao".  For the JRE home
directory, choose $workspace/fakejdk.  Then turn off "Use default
system libraries" and you can edit the Source attachment of the new
JRE to point to the classpath directory in the workspace.

Once this is done you can pick this JRE for launchers, or to build
other projects against.  This is nice because it means these projects
don't have to necessarily depend on Classpath -- there is a layer of
indirection, so you can build and run them against the system VM if
you prefer to do that, without modifying the shared build setup.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]