-4

Recently, I have created my first public Java application, which opens a simple GUI. I have tested it on my Windows PC, but someone reported that the file does not open on their Mac OS. Since I do not have anything running a Mac OS to test it, I'd need your help to tell me if there are differences when building the JAR file... Because for all the people with Windows, it does work. Is it something while building the JAR file? Or some part of the code would be different for Mac OS? Thanks!

LCastr0
  • 49
  • 5

2 Answers2

1

Jar files are designed to run on any OS that has a JVM of a compatible version installed. Some jar files, however, may have be compiled from Java code that used OS-specific code (say talking to Windows registries), so testing it on other OS's is wise.

Original post by Kathy Van Stone can be found here.

Community
  • 1
  • 1
aval
  • 57
  • 8
0

It ended up it was a security error, fixed by them with tips from the Apple.com page (here) Thanks!

LCastr0
  • 49
  • 5