Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 17 support in IcedTea-Web #883

Open
Ashima010 opened this issue Sep 13, 2022 · 4 comments
Open

Java 17 support in IcedTea-Web #883

Ashima010 opened this issue Sep 13, 2022 · 4 comments

Comments

@Ashima010
Copy link

Does IcedTea-Web supports Java 17

@qlombat
Copy link

qlombat commented Jun 6, 2023

Is there any news about the support of java 17?

@shgninc
Copy link

shgninc commented Dec 30, 2023

There are some problem after update openjdk-11 to 17 by icedtea

selected jre: /usr/lib/jvm/java-17-openjdk-amd64

WARNING: package sun.applet not in java.desktop

WARNING: package com.sun.net.ssl.internal.ssl not in java.base

WARNING: package javax.jnlp not in java.desktop

WARNING: A terminally deprecated method in java.lang.System has been called

WARNING: System::setSecurityManager has been called by net.sourceforge.jnlp.runtime.JNLPRuntime

WARNING: Please consider reporting this to the maintainers of net.sourceforge.jnlp.runtime.JNLPRuntime

WARNING: System::setSecurityManager will be removed in a future release

Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.

selected jre: /usr/lib/jvm/java-17-openjdk-amd64

Unrecognized VM option 'PermSize=32M'

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

@lherschi
Copy link
Contributor

Java 8 and 11 issue the following message if the switch -XX:PermSize is specified.
warning: Ignoring option PermSize; support was removed in 8.0

Java 17 then definitively says.
Unrecognized VM option 'PermSize=32'

So remove PermSitze, then it also works with Java 17.

@lherschi
Copy link
Contributor

lherschi commented Feb 14, 2024

If you are unable to customize the jnlp file, you can start the application as follows.

javaws -J-XX:+IgnoreUnrecognizedVMOptions http://<domain>/<JNLP-File>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants