Home » Archived » Visual Editor (VE) » Problem with JRE 1.1 
| Problem with JRE 1.1 [message #14419] | 
Mon, 12 January 2004 22:32   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: huy.swiftdsl.com.au 
 
Hi, 
 
The VE does not work when I have a  JRE 1.1 (JDK 1.1.8), but works fine with 
JRE 1.4.1 configured workspace. Is this expected ? 
 
Details 
===== 
When I try to open a file up in VE it displays an error "Error trying to set 
new file into editor", my logs shows 
 
 #=========================================================== ================ 
== 
java.version=1.4.1_02 
java.vendor=Sun Microsystems Inc. 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU 
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:D:/eclipse/ 
!ENTRY org.eclipse.jem.proxy 2 0 Jan 13, 2004 14:24:42.180 
!MESSAGE IWAV0070W Cannot find a proxy implementation to use for project 
"sicab." 
!ENTRY org.eclipse.ve.java.core 4 0 Jan 13, 2004 14:24:42.210 
!MESSAGE Exception 
!STACK 0 
java.lang.NullPointerException 
 at 
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.createP 
roxyFactoryRegistry(JavaVisualEditorPart.java:669) 
 at 
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.i 
nitializeForProject(JavaVisualEditorPart.java:1800) 
 at 
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.i 
nitialize(JavaVisualEditorPart.java:1705) 
 at 
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r 
un(JavaVisualEditorPart.java:1588) 
 at java.lang.Thread.run(Thread.java:536) 
 ============================================================ ================ 
== 
 
Much appreciated if anyone can shed some light. When I change to JRE 1.4.1, 
it works like a charm. I need it to work with JDK 1.1.8 because I'm building 
a personal java app. 
 
Thanks 
 
Huy
 |  
 |  
  |   |  
| Re: Problem with JRE 1.1 [message #14479 is a reply to message #14449] | 
Tue, 13 January 2004 05:01    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: huy.swiftdsl.com.au 
 
"Joe Winchester" <winchest@uk.ibm.com> wrote in message 
news:4003BB15.D831F342@uk.ibm.com... 
> Hi Huy, 
> 
> > The VE does not work when I have a  JRE 1.1 (JDK 1.1.8), but works fine 
with 
> > JRE 1.4.1 configured workspace. Is this expected ? 
> 
> We only support 1.3 or higher.  I'm not even sure that Eclipse itself 
supports 
> 1.1.8 - if you create just a regular Java class with a main and try and 
run it 
> does this also crash ? 
> 
> Joe 
 
Hi Joe, 
 
Although eclipse does not run on jre 1.1, it does support projects which are 
targeted at jre 1.1. I'm not sure what you mean by crash (what crashes), but 
the VE can't load the simple class file (as described) into design view. I 
don't think it has anything to do with the java source file. For some 
reason, the selected JRE for the project is also used to startup the VE in 
eclipse and if this is the case, it will not work. This seems strange. 
 
Just to repeat what I said in my first email, if I change my workspace JRE 
to 1.4.1, then everything starts to work again. VE even properly parses my 
JDK 1.1 source code i.e all java beans and event handlers appear in the 
different views. 
 
Until someone helps me out with this, I'd like to share my work around. I 
configure my workspace to use the 1.4.1 JRE (or 1.3+ JRE for that matter) 
which allows the VE to run normally. I then create a separate ant build 
script to compile and jar my project using javac1.1 (adding this to the 
eclipse external build tools), then run the resulting jar file using my jre 
1.1 (personalJava in my case) separately outside of eclipse (of course you 
can get the thing to run as part of the ant script as well). 
 
Hope this helps somebody, yet also hoping that it won't need to. 
 
Thanks, 
 
Huy
 |  
 |  
  |  
| Re: Problem with JRE 1.1 [message #14509 is a reply to message #14479] | 
Tue, 13 January 2004 05:17    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Huy, 
 
Sorry for asking, but I'm a bit curious : why do you want your personnal 
application to run on JDK 1.1.8 ? 
I mean, if it's a personal java app you should have few constraints, am I 
right ? 
 
Besides, SWING performance significantly improved from JDK 1.1 to 1.4 
(actually SWING wasn't even part of the JDK 1.1) 
 
"Huy Do" <huy@swiftdsl.com.au> wrote in message 
news:bu0fl7$pgf$1@eclipse.org... 
> 
> "Joe Winchester" <winchest@uk.ibm.com> wrote in message 
> news:4003BB15.D831F342@uk.ibm.com... 
> > Hi Huy, 
> > 
> > > The VE does not work when I have a  JRE 1.1 (JDK 1.1.8), but works 
fine 
> with 
> > > JRE 1.4.1 configured workspace. Is this expected ? 
> > 
> > We only support 1.3 or higher.  I'm not even sure that Eclipse itself 
> supports 
> > 1.1.8 - if you create just a regular Java class with a main and try and 
> run it 
> > does this also crash ? 
> > 
> > Joe 
> 
> Hi Joe, 
> 
> Although eclipse does not run on jre 1.1, it does support projects which 
are 
> targeted at jre 1.1. I'm not sure what you mean by crash (what crashes), 
but 
> the VE can't load the simple class file (as described) into design view. I 
> don't think it has anything to do with the java source file. For some 
> reason, the selected JRE for the project is also used to startup the VE in 
> eclipse and if this is the case, it will not work. This seems strange. 
> 
> Just to repeat what I said in my first email, if I change my workspace JRE 
> to 1.4.1, then everything starts to work again. VE even properly parses my 
> JDK 1.1 source code i.e all java beans and event handlers appear in the 
> different views. 
> 
> Until someone helps me out with this, I'd like to share my work around. I 
> configure my workspace to use the 1.4.1 JRE (or 1.3+ JRE for that matter) 
> which allows the VE to run normally. I then create a separate ant build 
> script to compile and jar my project using javac1.1 (adding this to the 
> eclipse external build tools), then run the resulting jar file using my 
jre 
> 1.1 (personalJava in my case) separately outside of eclipse (of course you 
> can get the thing to run as part of the ant script as well). 
> 
> Hope this helps somebody, yet also hoping that it won't need to. 
> 
> Thanks, 
> 
> Huy 
> 
>
 |  
 |  
  |  
| Re: Problem with JRE 1.1 [message #15052 is a reply to message #14509] | 
Thu, 15 January 2004 08:06   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: huy.swiftdsl.com.au 
 
Hi Sebastien, 
 
I didn't mean PersonalJava as in java program for personal use, but the 
PersonalJava used for PDA applications. With a statement like "I'm building 
a personal java app." (from my first post) I'm not surprised of the 
misunderstanding, sorry. 
 
Regards, 
 
Huy 
 
"S
 |  
 |  
  |  
| Re: Problem with JRE 1.1 [message #577397 is a reply to message #14419] | 
Tue, 13 January 2004 04:32   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Huy, 
 
> The VE does not work when I have a  JRE 1.1 (JDK 1.1.8), but works fine with 
> JRE 1.4.1 configured workspace. Is this expected ? 
 
We only support 1.3 or higher.  I'm not even sure that Eclipse itself supports 
1.1.8 - if you create just a regular Java class with a main and try and run it 
does this also crash ? 
 
Best regards, 
 
Joe
 |  
 |  
  |  
| Re: Problem with JRE 1.1 [message #577426 is a reply to message #14449] | 
Tue, 13 January 2004 05:01   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: huy.swiftdsl.com.au 
 
"Joe Winchester" <winchest@uk.ibm.com> wrote in message 
news:4003BB15.D831F342@uk.ibm.com... 
> Hi Huy, 
> 
> > The VE does not work when I have a  JRE 1.1 (JDK 1.1.8), but works fine 
with 
> > JRE 1.4.1 configured workspace. Is this expected ? 
> 
> We only support 1.3 or higher.  I'm not even sure that Eclipse itself 
supports 
> 1.1.8 - if you create just a regular Java class with a main and try and 
run it 
> does this also crash ? 
> 
> Joe 
 
Hi Joe, 
 
Although eclipse does not run on jre 1.1, it does support projects which are 
targeted at jre 1.1. I'm not sure what you mean by crash (what crashes), but 
the VE can't load the simple class file (as described) into design view. I 
don't think it has anything to do with the java source file. For some 
reason, the selected JRE for the project is also used to startup the VE in 
eclipse and if this is the case, it will not work. This seems strange. 
 
Just to repeat what I said in my first email, if I change my workspace JRE 
to 1.4.1, then everything starts to work again. VE even properly parses my 
JDK 1.1 source code i.e all java beans and event handlers appear in the 
different views. 
 
Until someone helps me out with this, I'd like to share my work around. I 
configure my workspace to use the 1.4.1 JRE (or 1.3+ JRE for that matter) 
which allows the VE to run normally. I then create a separate ant build 
script to compile and jar my project using javac1.1 (adding this to the 
eclipse external build tools), then run the resulting jar file using my jre 
1.1 (personalJava in my case) separately outside of eclipse (of course you 
can get the thing to run as part of the ant script as well). 
 
Hope this helps somebody, yet also hoping that it won't need to. 
 
Thanks, 
 
Huy
 |  
 |  
  |  
| Re: Problem with JRE 1.1 [message #577448 is a reply to message #14479] | 
Tue, 13 January 2004 05:17   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Huy, 
 
Sorry for asking, but I'm a bit curious : why do you want your personnal 
application to run on JDK 1.1.8 ? 
I mean, if it's a personal java app you should have few constraints, am I 
right ? 
 
Besides, SWING performance significantly improved from JDK 1.1 to 1.4 
(actually SWING wasn't even part of the JDK 1.1) 
 
"Huy Do" <huy@swiftdsl.com.au> wrote in message 
news:bu0fl7$pgf$1@eclipse.org... 
> 
> "Joe Winchester" <winchest@uk.ibm.com> wrote in message 
> news:4003BB15.D831F342@uk.ibm.com... 
> > Hi Huy, 
> > 
> > > The VE does not work when I have a  JRE 1.1 (JDK 1.1.8), but works 
fine 
> with 
> > > JRE 1.4.1 configured workspace. Is this expected ? 
> > 
> > We only support 1.3 or higher.  I'm not even sure that Eclipse itself 
> supports 
> > 1.1.8 - if you create just a regular Java class with a main and try and 
> run it 
> > does this also crash ? 
> > 
> > Joe 
> 
> Hi Joe, 
> 
> Although eclipse does not run on jre 1.1, it does support projects which 
are 
> targeted at jre 1.1. I'm not sure what you mean by crash (what crashes), 
but 
> the VE can't load the simple class file (as described) into design view. I 
> don't think it has anything to do with the java source file. For some 
> reason, the selected JRE for the project is also used to startup the VE in 
> eclipse and if this is the case, it will not work. This seems strange. 
> 
> Just to repeat what I said in my first email, if I change my workspace JRE 
> to 1.4.1, then everything starts to work again. VE even properly parses my 
> JDK 1.1 source code i.e all java beans and event handlers appear in the 
> different views. 
> 
> Until someone helps me out with this, I'd like to share my work around. I 
> configure my workspace to use the 1.4.1 JRE (or 1.3+ JRE for that matter) 
> which allows the VE to run normally. I then create a separate ant build 
> script to compile and jar my project using javac1.1 (adding this to the 
> eclipse external build tools), then run the resulting jar file using my 
jre 
> 1.1 (personalJava in my case) separately outside of eclipse (of course you 
> can get the thing to run as part of the ant script as well). 
> 
> Hope this helps somebody, yet also hoping that it won't need to. 
> 
> Thanks, 
> 
> Huy 
> 
>
 |  
 |  
  |  
| Re: Problem with JRE 1.1 [message #578315 is a reply to message #14509] | 
Thu, 15 January 2004 08:06   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: huy.swiftdsl.com.au 
 
Hi Sebastien, 
 
I didn't mean PersonalJava as in java program for personal use, but the 
PersonalJava used for PDA applications. With a statement like "I'm building 
a personal java app." (from my first post) I'm not surprised of the 
misunderstanding, sorry. 
 
Regards, 
 
Huy 
 
"S
 |  
 |  
  |   
Goto Forum:
 
 Current Time: Tue Nov 04 08:20:04 EST 2025 
 Powered by  FUDForum. Page generated in 0.10243 seconds  
 |