Apple no longer ships JDK 1.6 with OSX and the general recommendation is to use Oracle's 1.7+ JDK. To use the Oracle JDK though TaskUnifier needs to be rebundled using the Oracle bundler as described in these StackOverflows...
http://stackoverflow.com/questions/14806709/application-is-using-java-6-from-apple-instead-of-java-7-from-oracle-on-mac-os-x
http://stackoverflow.com/questions/12102716/bundle-a-java-7-jar-for-mac
Oracle JDK 1.7 also provides numerous retina improvements.
Anonymous
Normally if you install java 7 and set it as default java version on Mac, it should be enough.
I don't want to bundle java on the mac version, because the final file is about 130mo big compared to 25mo currently.
Apple doesn't ship 1.6, but if you try to run a java software on Mac and you don't have java installed, Mac OS automatically ask you if you want to install it.
But I'm pretty sure that if you install 1.7 manually, it will work too.
Do you have to have any Mac testers that have verified it will use 1.7? I
have JDK 1.7 installed, but TaskUnifier is still using 1.6 (see data
below). When I first installed TaskUnifier I already had 1.7 installed, but
it still forced me to install 1.6.
Here is what I have installed:
$ /usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.7.0_51, x86_64: "Java SE 7"
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
1.6.0_65-b14-462, x86_64: "Java SE 6"
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-462, i386: "Java SE 6"
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
But TaskUnifier is still using 1.6 according to its system_info.txt
Java Version: 1.6.0_65
Java Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
OS Name: Mac OS X
OS Version: 10.9.2
OS Architecture: x86_64
Note I don't think the 1.7 JDK needs actually needs to be included in the
app install, the app just needs to be built with the Oracle bundler (rather
than the Apple bundler). This stackoverflow answer walks through the
specific steps - http://stackoverflow.com/a/15271448/255961.
On Tue, Apr 15, 2014 at 1:14 PM, Benjamin Leclerc leclercb@users.sf.netwrote:
Related
Bugs:
#385If you simply run "java -v" in the terminal, which version does it display ?
Last edit: Benjamin Leclerc 2014-04-25
$ java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
On Fri, Apr 25, 2014 at 12:04 AM, Benjamin Leclerc leclercb@users.sf.netwrote:
Related
Bugs:
#385View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
FYI, I am on a new mac and am seeing the same situation. I only have Java 1.7 installed, but when I run TaskUnifier I get the attached dialog. And I can't run TaskUnifier without clicking install.
Here is my setup before I install Java 6 so I can use TaskUnifier.
$ java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
~ drees-macbookpro2
$ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
1.7.0_55, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
This will be fixed with the OSX Yosemite version (4.3.2). As it seems Yosemite requires java to be bundled.
Note this is not really fixed yet. Its still 1.6 from what I can see.
Upgrading it might fix sync also (https://sourceforge.net/p/taskunifier/bugs/442/).