openjdk icon indicating copy to clipboard operation
openjdk copied to clipboard

MSFT Build of OpenJDK 17.0.3 (Windows on Arm) not opening JAR file (host is Mac OS X running parallels)

Open karianna opened this issue 2 years ago • 4 comments

Hi:

Windows 11 ARM (running in parallels on Mac M1 Max).

Installed MS Java 17 from MS:

C:\tmp>java -version openjdk version "17.0.3" 2022-04-19 LTS OpenJDK Runtime Environment Microsoft-32931 (build 17.0.3+7-LTS) OpenJDK 64-Bit Server VM Microsoft-32931 (build 17.0.3+7-LTS, mixed mode)

C:\tmp>echo %JAVA_HOME% C:\Program Files (Arm)\Microsoft\jdk-17.0.3.7-hotspot\

My problem is trying to open a Jar file. Nothing happens. No error but the task manager show a couple of Java processes that immediately close.

I can run simple java programs: c:\tmp>java sample3.java Hello World!

But trying to open a jar produces no results.

C:\tmp>java -jar BBjBaristaAddonDemos2202_07-06-2022_1802.jar

Any help will be greatly appreciated.

ES

Originally posted by @edgarjsanchez in https://github.com/microsoft/openjdk/discussions/296

karianna avatar Jul 28 '22 12:07 karianna

@edgarjsanchez any chance you can share the JAR with us? If not, can you please run java -verbose:class -jar <jarfile> ?

brunoborges avatar Jul 28 '22 22:07 brunoborges

Hi:

It's a large jar but it's shareable.

https://drive.google.com/file/d/1gXGRfi0SeGfWYent95xyrOxUzVcdUqkP/view?usp=sharing

[image: image.png]

Using the verbose stops at the shown line.

FYI, I ended up using the x64 version of Java in order to be able to run the jar.

Regards,

Edgar

On Thu, Jul 28, 2022 at 5:43 PM Bruno Borges @.***> wrote:

@edgarjsanchez https://github.com/edgarjsanchez any chance you can share the JAR with us? If not, can you please run java -verbose:class -jar ?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/openjdk/issues/298#issuecomment-1198698592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWD4DZP4DLH2TOZKBTU2OTVWMEHZANCNFSM545CC55A . You are receiving this because you were mentioned.Message ID: @.***>

edgarjsanchez avatar Oct 11 '22 08:10 edgarjsanchez

@edgarjsanchez I just tried running this on my Intel Mac with Java 17 and the app pops up a splash screen stating that only Java 11 is supported. I think you'll need to ask the authors of the program for their plans to upgrade to Java 17.

karianna avatar Oct 12 '22 10:10 karianna

@edgarjsanchez I just tried running this on my Intel Mac with Java 17 and the app pops up a splash screen stating that only Java 11 is supported. I think you'll need to ask the authors of the program for their plans to upgrade to Java 17.

Mceberhart11 avatar Oct 13 '22 23:10 Mceberhart11

Closing due to no response and it's a 3rd party support issue.

karianna avatar Jan 02 '23 06:01 karianna