Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » A specific JRE version for projects?
A specific JRE version for projects? [message #113339] Thu, 15 December 2005 18:37 Go to next message
Eclipse UserFriend
Originally posted by: Wayne-967.cox.net

To anyone who can help...

We are currently required to use JRE version 1.3.1_10 for our application
builds. Previously we used version 3.0.1 of Eclipse and the associated
release of VE for our dialog design. We experienced no issues with this
setup.

We are in the process of updating to version 3.1.0 of Eclipse with the
associated release of VE. However, we are experiencing issues with VE not
working with our dialogs anymore. Nore does it seem to be working with a
newly created class extending java.awt.Frame, we encounter a
NullPointerException. If we swich the JRE System Library in our project to
JRE version 1.4.2_08 things seem to be okay. But, we are required to use
version 1.3.1_10.

My question are... Does version 1.1.0.1 of the VE require that projects be
built with version 1.4.2_08 of the JRE (I'm aware of the note stating the
BeanInfo for SWT needs it to work properly, but we don't use SWT)? Is
there a way to specify which version of the JRE the VE design view should
use to build the view? Or is there something I'm missing and/or
overlooking?

Thanks in advance for any assistance...

Wayne

Just to add, this code works and displays in the VE Design tab with the
project being built with JRE 1.4.2_08 but not with 1.3.1_10.

import java.awt.Frame;
import java.awt.GraphicsConfiguration;

public class TestFrame extends Frame {

public TestFrame() {
super();
// TODO Auto-generated constructor stub
initialize();
}

public TestFrame(GraphicsConfiguration arg0) {
super(arg0);
// TODO Auto-generated constructor stub
initialize();
}

public TestFrame(String arg0) {
super(arg0);
// TODO Auto-generated constructor stub
initialize();
}

public TestFrame(String arg0, GraphicsConfiguration arg1) {
super(arg0, arg1);
// TODO Auto-generated constructor stub
initialize();
}

/**
* This method initializes this
*
* @return void
*/
private void initialize() {
this.setSize(300, 200);
this.setTitle("Frame");
}

}
Re: A specific JRE version for projects? [message #113355 is a reply to message #113339] Thu, 15 December 2005 19:20 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Yes it requires at least 1.4.2 to be the project's jre level.

--
Thanks,
Rich Kulp
Re: A specific JRE version for projects? [message #611620 is a reply to message #113339] Thu, 15 December 2005 19:20 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Yes it requires at least 1.4.2 to be the project's jre level.

--
Thanks,
Rich Kulp
Previous Topic:A specific JRE version for projects?
Next Topic:Custom SWT-Widget added but not drawn
Goto Forum:
  


Current Time: Fri Apr 19 23:10:25 GMT 2024

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

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

Back to the top