AJDT and workspace JRE [message #591300] |
Fri, 16 December 2005 18:21 |
harry sheng Messages: 37 Registered: July 2009 |
Member |
|
|
Hi,
I have a problem with the combination of Eclipse 3.1, JRE 1.5.0 and AJDT
20051111104438.
The problem is at the runtime of the deployment generated by an ANT script
running inside Eclipse with the JRE of the workspace (not when I edit or
compile aspects).
In one of the classes, I have a statement like
BigDecimal var = new BigDecimal(123);
I get an exception for this statement at runtime,
java.lang.NoSuchMethodError: java.math.BigDecimal.(I)V
In the ANT script, I have set the source and target compability to 1.4.
I have this problem only if I start Eclipse with JRE 1.5.0.
If I start Eclipse with JRE 1.4.2, the generated deployment works just
fine. I do not have the problem with the BigDecimal.
I use AspectJ150_M2 in the ANT script. Is this AspectJ build too old for
JRE 1.5.0 ?
Harry
|
|
|
Powered by
FUDForum. Page generated in 0.02835 seconds