Thanks Ede,

Seems that I still confuse java, jvm and jre :-(

>> I wonder how I could introduce this without
>> having errors and mostly how the pom project can compile for the NB
>> as it is still configured to use java 1.5 ?
> no problem. pom is compiled using a oracle jdk 7 but the maven compiler 
> plugin is configured to create 1.5 bytecode
If I understand, using the -target 1.x option will produce a bytecode
compatible with a jvm >= 1.x but it will not prevent a NoClassDefFoundError
if one try to execute the code with a JRE 1.x if the jar has been build 
with a
JDK > 1.x :-(
>
> <plugin>
>    <artifactId>maven-compiler-plugin</artifactId>
>    <configuration>
>      <source>1.5</source>
>      <target>1.5</target>
>    </configuration>
> </plugin>
>
> we should probably up that to 1.6 in the near future, java8 being the current 
> stable release.
Agree, let's switch to 1.6.

Michaƫl
>
>> Anyway, I probably can revert these feature to be 1.6 or 1.5
>> compatible if needed.
> you could use a condition to use JComboBox on 1.7 and something else on 
> earlier jre'
> s. simply test if JComboBox is available and work from there.
>
> brtw. java6 has a JComboBox.
>
>> You also introduced GraphicsDevice.WindowTranslucency some times
>> ago which is also a java 7 feature. How is it managed ?
> used one of the new methods added at the same time
>
> GUIUtil.isPerPixelTranslucencySupported()
> GUIUtil.isUniformTranslucencySupported()
> GUIUtil.isShapedWindowSupported()
>
> as a condition whether to create a transparent window or stick with something 
> ordinary ;)
>
> ..ede
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to