aspose file tools*
The moose likes Java in General and the fly likes Running jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Running jar file" Watch "Running jar file" New topic
Author

Running jar file

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 744
Hi I'm trying to run a jar file (exported using java 1.5) on a mac,

Using java tester it says I have java 1.5

But in the console I have:

Mac OS X Version 10.4.11 (Build 8S165)
2010-08-24 09:58:47 -0700
[JavaAppLauncher Warning] Specifying a specific version for com.apple.mrj.application.JVMVersion 1.3.1 is deprecated. Use the more general 1.3* instead.
launchd[177]: com.seagate.notificationexec.plist: respawning too quickly! throttling
launchd[177]: com.seagate.notificationexec.plist: 8 more failures without living at least 60 seconds will cause job removal
launchd[177]: com.seagate.notificationexec.plist: will restart in 10 seconds
2010-08-24 09:58:53.334 Backup Engine[201] MaxBack Engine MaxBackEngineController-- MoreSecCopyHelperToolURLAndCheckBundled #1
2010-08-24 09:58:53.376 Backup Engine[201] MaxBackEngineController-- calling MoreSecExecuteRequestInHelperTool
2010-08-24 09:58:53.653 Backup Engine[201] MaxBackEngineController-- back from MoreSecExecuteRequestInHelperTool
2010-08-24 09:58:53.750 SystemUIServer[182] lang is:en

[Main:main] Resource bundle locale: en_US
[ExpressitSettings] Using locale: English (United States) en_US

[ExpressitSettings:testIfLocaleIsCharacterBased] locale = en_US icb?
locale 0: zh
locale 1: ja
locale 2: ko
locale 3: ar
locale 4: el
locale 5: iw
locale 6: ru
NO, IS NOT CHAR BASED

[ExpressitSettings:testIfLocaleIsRightToLeft] locale = en_US RTL?
locale 0: ar
locale 1: iw
NO, IS LEFT-TO-RIGHT

Available look and feels:
javax.swing.plaf.metal.MetalLookAndFeel
com.apple.mrj.swing.MacLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel

System info:
OS NAME: Mac OS X
OS VERSION: 10.4.11
OS LANGUAGE: en
OS REGION: US
OS FILE ENCODING: MacRoman

JAVA VERSION: 1.3.1_16
JAVA HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home
JAVA VM NAME: Java HotSpot(TM) Client VM
JAVA EXT DIRS: /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext
JAVA CLASSPATH: expressit.jar:main.jar:security.jar:templates.jar:wizard.jar:jars/crimson.jar:jars/glf.jar:jars/jai_codec.jar:jars/jai_core.jar:jars/jaxp.jar:jars/pngencoder.jar:jars/xalan.jar:/Applications/

...





Which appears to be saying that its java 1.3 installed.
So I'm a bit confused whats going on, and how I could update to java 1.5 or 1.6, cause sun/oracle is separate from mac when it comes to java.

Any thoughts are appreciated.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Use the Java control panel to determine which JVM should be used by default. It's likely you have at least up to 1.5 installed already.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Running jar file