A specific JRE version for projects? [message #113339] |
Thu, 15 December 2005 18:37 |
Eclipse User |
|
|
|
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");
}
}
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03288 seconds