• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Java application runs with 1.3.1 but needs 1.4

I have a java application (not applet) that needs to run with version 1.4 of Java.

The Mac was recently updated to OS 10.3.5 and java 1.4   Running java -version returns build 1.4.2_05-141

When the application runs System.getProperty("java.version") returns 1.3.1

I added an entry to the MRJApp.properties file:

com.apple.mrj.application.JVMVersion=1.4

but this had no effect.

Thanks

John
0
John4343
Asked:
John4343
1 Solution
 
elementalindigoCommented:
Instead of setting the com.apple.mrj.application.JVMVersion to 1.4, try setting it to 1.4*. This makes the application use the highest version of Java 1.4 available.
0
 
John4343Author Commented:
Ah!!  Thanks very much
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now