Project

General

Profile

Actions

Bug #6618

open

Make production morpho work on Java 7

Added by Jing Tao about 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
11/12/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

Currently, the production Morpho only works on java 6. We should modify the izpack configuration to make it work in java 7.

Actions #1

Updated by Jing Tao about 8 years ago

  • Assignee set to Jing Tao
Actions #2

Updated by Jing Tao almost 8 years ago

I don't know why jarBundler can't work. I have to use appbundler to make it work:

http://stackoverflow.com/questions/14806709/application-is-using-java-6-from-apple-instead-of-java-7-from-oracle-on-mac-os-x

<target name="macjarbundler" depends="install">
<taskdef name="jarbundler"
classpath="${morpho.basedir}/lib/appbundler-1.0.jar"
classname="com.oracle.appbundler.AppBundlerTask"
onerror="ignore" />
<echo message="Using morpho args: ${morpho.args}"></echo>
<!-- name="morpho"
stubfile="${morpho.basedir}/installer/build/mac/JavaApplicationStub"
mainclass="edu.ucsb.nceas.morpho.Morpho"
icon="${morpho.basedir}/lib/DesktopIcon32x32.icns"
vmoptions="-Xmx1024m Xss5m"
arguments="${morpho.args}">
<jarfileset dir="${build.lib}">
<include name="*.jar" />
</jarfileset>
</jarbundler> -
>
<jarbundler outputdirectory="${morpho.basedir}/"
name="morpho"
displayname="morpho"
identifier="com.oracle.javafx.swing.Test"
shortversion="1.0"
icon="${morpho.basedir}/lib/DesktopIcon32x32.icns"
applicationCategory="public.app-category.developer-tools"
mainclassname="edu/ucsb/nceas/morpho/Morpho">
<!--
<classpath dir="${build.lib}">
<include name="*.jar" />
</classpath>
<option value="-Dapple.laf.useScreenMenuBar=true"/>
</jarbundler>
</target>
Actions

Also available in: Atom PDF