Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to set a non normal application as JRE for Running in a Project
How to set a non normal application as JRE for Running in a Project [message #530881] Sun, 02 May 2010 07:24 Go to next message
Eclipse UserFriend
Hello,
I am a developer of a open source JVM for microcontrollers (if you interested http://cs.ba-berlin.de/). Add the moment all compiling of java programms is done by classic makefiles, but to make it easyer for new developers to start I want to make a Eclipse Project Template for our JVM.

Our JVM(bajos) is although running on a normal linux-system(for fast development) and the java programs needs to be compiled with a default javac like this from sun.

At the moment I could compile the programs with eclipse and a default jdt project.
- I removed default libraries and added the directory with our own bootclasses.

But how could I configure, that eclipse does not call java (default jre) if I run my application. I need to call our JVM in this way:

path-to-it/bajos (bootclasses) (classfiles from project)

Additionally it would nice to use a Environment variable for path-to-it or something like this.

I hope you could give me some advice.

Christopher
Re: How to set a non normal application as JRE for Running in a Project [message #530908 is a reply to message #530881] Sun, 02 May 2010 12:38 Go to previous messageGo to next message
Eclipse UserFriend
On 05/02/2010 06:24 AM, ceh-photo.de wrote:
> Hello,
> I am a developer of a open source JVM for microcontrollers (if you
> interested http://cs.ba-berlin.de/). Add the moment all compiling of
> java programms is done by classic makefiles, but to make it easyer for
> new developers to start I want to make a Eclipse Project Template for
> our JVM.
>
> Our JVM(bajos) is although running on a normal linux-system(for fast
> development) and the java programs needs to be compiled with a default
> javac like this from sun.
>
> At the moment I could compile the programs with eclipse and a default
> jdt project.
> - I removed default libraries and added the directory with our own
> bootclasses.
>
> But how could I configure, that eclipse does not call java (default jre)
> if I run my application. I need to call our JVM in this way:
>
> path-to-it/bajos (bootclasses) (classfiles from project)
>
> Additionally it would nice to use a Environment variable for path-to-it
> or something like this.
>
> I hope you could give me some advice.
>
> Christopher

The JRE tab of the Lanch Configuration dialog allows you to change the
name of the VM executable.
Re: How to set a non normal application as JRE for Running in a Project [message #530921 is a reply to message #530881] Sun, 02 May 2010 16:16 Go to previous message
Eclipse UserFriend
Did you mean these dialog:

http://ceh-photo.de/run_conf.png

If I edit the field alternate with the path and name to my own JVM it throws an error:

specific executable does not exist for java 6.

Could you made me a screenshot, where I need to customize the executable name?

Thank you

Christopher
Previous Topic:Eclipse ant build reports "cannot find symbol [javac] symbol : XXXX"
Next Topic:JavaFX install problems
Goto Forum:
  


Current Time: Thu Mar 20 08:39:20 EDT 2025

Powered by FUDForum. Page generated in 0.02575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top