Hi
> I believe it depends on how the JAR file for the plug-in is produced.
> If you compile and build the Jar using Ant from inside Eclipse, then
> Ant controls. I checked my tools.jar in the Ant Runtime Configuration,
> at it is being pulled from a 1.6 JDK. This should be the same Eclipse
> is using. I also tried creating the JAR using the export command in
> Eclipse, without Ant, and I get the same exception I do when using a
> JAR created with Ant.
In both case, you should be able to control the compatibility mode of 
the compiled
class files with the target version option of the compiler
> You can't even download the 1.5 JDK or JRE from Oracle's web site now.
> You have to get it from an archive web page which requires an Oracle
> web site registration. OJ is running and compiling OK for me on Java
> 1.6, so I'll be happy if I can just get that to work. I'll have to let
> the plug-in users now that Java 1.6 is required.
Same remark as above,

Michaël
>
> Landon
>
> 2012/2/24 Michaël Michaud<michael.mich...@free.fr>:
>> Hi,
>>> I've set my compiler settings for the GPX project to Java 1.6 on both
>>> plug-in projects. I'm building both with Ant in Eclipse.
>> Is your ant script or your Eclipse settings deciding which compiler
>> version you are using ?
>> Does your GPX plugin have dependencies ?
>> Did you try to remove (or no rename) you java 1.7 installation while
>> compiling,
>> just to make sure you're not using it ?
>>
>> Why don't you stick to java 1.5 as we do for OpenJUMP and most plugins ?
>>
>> Michaël
>>
>>> The Super
>>> Select Tool plug-in loads just fine in OpenJUMP, while the GPX Reader
>>> plug-in throws a "Major Minor" version exception. (This happens when
>>> you run a class compiled with a JDK higher than the JRE running the
>>> code.)
>>>
>>> Both plug-ins run fine if I change my oj_windows.bat file to use a 1.7
>>> JRE to run JUMP.
>>>
>>> I'm stumped.
>>>
>>> Any ideas? As far as I know, I'm not using any Java 1.7 features in my
>>> GPX Reader plug-in source code.
>>>
>>> Thanks.
>>>
>>> Landon
>>>
>>> ------------------------------------------------------------------------------
>>> Virtualization&    Cloud Management Using Capacity Planning
>>> Cloud computing makes use of virtualization - but cloud computing
>>> also focuses on allowing computing to be delivered as a service.
>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Virtualization&  Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> ------------------------------------------------------------------------------
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to