[jira] [Commented] (NETBEANS-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
[ https://issues.apache.org/jira/browse/NETBEANS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517133#comment-17517133 ] Javier Llorente commented on NETBEANS-2360: --- I have tested the launch script with your changes and the original one with global scale set to 200% and it made no difference. NetBeans looked good in both cases but I prefer having KDE's global scale set to 100%. > HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux > --- > > Key: NETBEANS-2360 > URL: https://issues.apache.org/jira/browse/NETBEANS-2360 > Project: NetBeans > Issue Type: Bug > Components: platform - Launchers&CLI >Affects Versions: 11.0, 12.2 > Environment: Kubuntu 18.03 > Oracle JDK 11.0.2 >Reporter: Eirik Bakke >Priority: Major > Labels: HiDPI, Linux, pull-request-available > Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, > image-2021-09-12-21-05-06-852.png, kubunt.jpg > > Time Spent: 1h > Remaining Estimate: 0h > > Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take > into account the system's default HiDPI scaling. This was reported in a > Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . > Note that Window decorations seem to be the correct size. > Setting the GDK_SCALE environment variable seems to fix the problem, if I > understand the originally reporter correctly. This could probably be done > easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix > the problem in multi-monitor setups. We should investigate what could be done > to make scaling work properly in multi-monitor setups involving one HiDPI > screen and one non-HiDPI screen. > Before merging a patch to the launcher script, it should be tested on a > couple of different Linux environments, using both HiDPI and non-HiDPI > screens. Note that the UNIX launcher script is also used on MacOS. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
[ https://issues.apache.org/jira/browse/NETBEANS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514279#comment-17514279 ] Javier Llorente edited comment on NETBEANS-2360 at 3/29/22, 7:17 PM: - Hi Eirik, I have tried the IDE launcher script with your changes and, unfortunately, it doesn't work for me; my 4K monitor isn't HiDPI. Anyways, I always launch NetBeans with GDK_SCALE=2 (otherwise it's too small). {color:#00}openSUSE Tumbleweed{color} 20220310 {code:java} screen #0: dimensions: 3840x2160 pixels (602x341 millimeters) resolution: 162x161 dots per inch{code} was (Author: jav...@opensuse.org): Hi Eirik, I have tried the IDE launcher script with your changes and, unfortunately, it doesn't work for me; my 4K monitor isn't HiDPI. Anyways, I always launch NetBeans with GDK_SCALE=2 (otherwise it's too small). {color:#00}{color:#00}openSUSE Tumbleweed{color} 20220310{color} {color:#00}screen #0: {color} dimensions: 3840x2160 pixels (602x341 millimeters) resolution: 162x161 dots per inch > HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux > --- > > Key: NETBEANS-2360 > URL: https://issues.apache.org/jira/browse/NETBEANS-2360 > Project: NetBeans > Issue Type: Bug > Components: platform - Launchers&CLI >Affects Versions: 11.0, 12.2 > Environment: Kubuntu 18.03 > Oracle JDK 11.0.2 >Reporter: Eirik Bakke >Priority: Major > Labels: HiDPI, Linux, pull-request-available > Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, > image-2021-09-12-21-05-06-852.png, kubunt.jpg > > Time Spent: 1h > Remaining Estimate: 0h > > Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take > into account the system's default HiDPI scaling. This was reported in a > Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . > Note that Window decorations seem to be the correct size. > Setting the GDK_SCALE environment variable seems to fix the problem, if I > understand the originally reporter correctly. This could probably be done > easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix > the problem in multi-monitor setups. We should investigate what could be done > to make scaling work properly in multi-monitor setups involving one HiDPI > screen and one non-HiDPI screen. > Before merging a patch to the launcher script, it should be tested on a > couple of different Linux environments, using both HiDPI and non-HiDPI > screens. Note that the UNIX launcher script is also used on MacOS. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-3273) Cannot run Payara 5 under JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514287#comment-17514287 ] Javier Llorente edited comment on NETBEANS-3273 at 3/29/22, 7:15 PM: - I can reproduce this issue with NetBeans 13 and Payara 5.2022.1 using JDK 8. Payara 5.2022.1 NetBeans 13 {color:#00}OpenJDK Runtime Environment (IcedTea 3.22.0) (build 1.8.0_322-b06 suse-1.1-x86_64){color} {color:#00}openSUSE Tumbleweed{color} {color:#00}20220310{color} {code:java} Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.{code} Workaround: use JDK 11. was (Author: jav...@opensuse.org): I can reproduce this issue with NetBeans 13 and Payara 5.2022.1 using JDK 8. Payara 5.2022.1 NetBeans 13 {color:#00}OpenJDK Runtime Environment (IcedTea 3.22.0) (build 1.8.0_322-b06 suse-1.1-x86_64){color} {color:#00}openSUSE Tumbleweed{color} {color:#00}20220310{color} {code:java} Error: Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.{code} Workaround: use JDK 11. > Cannot run Payara 5 under JDK 8 > --- > > Key: NETBEANS-3273 > URL: https://issues.apache.org/jira/browse/NETBEANS-3273 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 11.1, 11.2, 12.4, 12.6, 13 >Reporter: Stephen Parry >Priority: Major > > On Linux (not sure about other platforms), running Payara using JDK 8 gives > the following error on Services -> server -> Payara -> start: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > Steps to reproduce: > # Ensure host system has JDK 11 (as default) and JDK 8 installed > # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all > modules > # Use platform manager to add JDK 8 as new platform. > # Add a Payara 5.192 or 5.193 server > # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: > JDK 8 -> Close > # Services -> Server -> Payara Server -> Start > Expected behaviour: > Successful startup messages in Payara Server console > Actual behaviour: > Failure messages in Payara Server console: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > This is a known issue in the original Payara eclipse plugin tooling, see: > [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11] -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3273) Cannot run Payara 5 under JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514287#comment-17514287 ] Javier Llorente commented on NETBEANS-3273: --- I can reproduce this issue with NetBeans 13 and Payara 5.2022.1 using JDK 8. Payara 5.2022.1 NetBeans 13 {color:#00}OpenJDK Runtime Environment (IcedTea 3.22.0) (build 1.8.0_322-b06 suse-1.1-x86_64){color} {color:#00}openSUSE Tumbleweed{color} {color:#00}20220310{color} {code:java} Error: Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.{code} Workaround: use JDK 11. > Cannot run Payara 5 under JDK 8 > --- > > Key: NETBEANS-3273 > URL: https://issues.apache.org/jira/browse/NETBEANS-3273 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 11.1, 11.2, 12.4, 12.6, 13 >Reporter: Stephen Parry >Priority: Major > > On Linux (not sure about other platforms), running Payara using JDK 8 gives > the following error on Services -> server -> Payara -> start: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > Steps to reproduce: > # Ensure host system has JDK 11 (as default) and JDK 8 installed > # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all > modules > # Use platform manager to add JDK 8 as new platform. > # Add a Payara 5.192 or 5.193 server > # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: > JDK 8 -> Close > # Services -> Server -> Payara Server -> Start > Expected behaviour: > Successful startup messages in Payara Server console > Actual behaviour: > Failure messages in Payara Server console: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > This is a known issue in the original Payara eclipse plugin tooling, see: > [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11] -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3273) Cannot run Payara 5 under JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Llorente updated NETBEANS-3273: -- Affects Version/s: 13 > Cannot run Payara 5 under JDK 8 > --- > > Key: NETBEANS-3273 > URL: https://issues.apache.org/jira/browse/NETBEANS-3273 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 11.1, 11.2, 12.4, 12.6, 13 >Reporter: Stephen Parry >Priority: Major > > On Linux (not sure about other platforms), running Payara using JDK 8 gives > the following error on Services -> server -> Payara -> start: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > Steps to reproduce: > # Ensure host system has JDK 11 (as default) and JDK 8 installed > # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all > modules > # Use platform manager to add JDK 8 as new platform. > # Add a Payara 5.192 or 5.193 server > # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: > JDK 8 -> Close > # Services -> Server -> Payara Server -> Start > Expected behaviour: > Successful startup messages in Payara Server console > Actual behaviour: > Failure messages in Payara Server console: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > This is a known issue in the original Payara eclipse plugin tooling, see: > [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11] -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
[ https://issues.apache.org/jira/browse/NETBEANS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514279#comment-17514279 ] Javier Llorente commented on NETBEANS-2360: --- Hi Eirik, I have tried the IDE launcher script with your changes and, unfortunately, it doesn't work for me; my 4K monitor isn't HiDPI. Anyways, I always launch NetBeans with GDK_SCALE=2 (otherwise it's too small). {color:#00}{color:#00}openSUSE Tumbleweed{color} 20220310{color} {color:#00}screen #0: {color} dimensions: 3840x2160 pixels (602x341 millimeters) resolution: 162x161 dots per inch > HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux > --- > > Key: NETBEANS-2360 > URL: https://issues.apache.org/jira/browse/NETBEANS-2360 > Project: NetBeans > Issue Type: Bug > Components: platform - Launchers&CLI >Affects Versions: 11.0, 12.2 > Environment: Kubuntu 18.03 > Oracle JDK 11.0.2 >Reporter: Eirik Bakke >Priority: Major > Labels: HiDPI, Linux, pull-request-available > Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, > image-2021-09-12-21-05-06-852.png, kubunt.jpg > > Time Spent: 1h > Remaining Estimate: 0h > > Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take > into account the system's default HiDPI scaling. This was reported in a > Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . > Note that Window decorations seem to be the correct size. > Setting the GDK_SCALE environment variable seems to fix the problem, if I > understand the originally reporter correctly. This could probably be done > easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix > the problem in multi-monitor setups. We should investigate what could be done > to make scaling work properly in multi-monitor setups involving one HiDPI > screen and one non-HiDPI screen. > Before merging a patch to the launcher script, it should be tested on a > couple of different Linux environments, using both HiDPI and non-HiDPI > screens. Note that the UNIX launcher script is also used on MacOS. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3273) Cannot run Payara 5 under JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368352#comment-17368352 ] Javier Llorente commented on NETBEANS-3273: --- I can reproduce this issue on Linux (openSUSE Tumbleweed) with NetBeans 12.4 and Payara Server 5.2021.4 using JDK 8. {code:java} Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. {code} Workaround: running Payara from the command line. {code:java} asadmin start-domain {code} > Cannot run Payara 5 under JDK 8 > --- > > Key: NETBEANS-3273 > URL: https://issues.apache.org/jira/browse/NETBEANS-3273 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 11.1, 11.2, 12.4 >Reporter: Stephen Parry >Priority: Major > > On Linux (not sure about other platforms), running Payara using JDK 8 gives > the following error on Services -> server -> Payara -> start: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > Steps to reproduce: > # Ensure host system has JDK 11 (as default) and JDK 8 installed > # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all > modules > # Use platform manager to add JDK 8 as new platform. > # Add a Payara 5.192 or 5.193 server > # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: > JDK 8 -> Close > # Services -> Server -> Payara Server -> Start > Expected behaviour: > Successful startup messages in Payara Server console > Actual behaviour: > Failure messages in Payara Server console: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > This is a known issue in the original Payara eclipse plugin tooling, see: > [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11] -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3273) Cannot run Payara 5 under JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Llorente updated NETBEANS-3273: -- Affects Version/s: 12.4 > Cannot run Payara 5 under JDK 8 > --- > > Key: NETBEANS-3273 > URL: https://issues.apache.org/jira/browse/NETBEANS-3273 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 11.1, 11.2, 12.4 >Reporter: Stephen Parry >Priority: Major > > On Linux (not sure about other platforms), running Payara using JDK 8 gives > the following error on Services -> server -> Payara -> start: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > Steps to reproduce: > # Ensure host system has JDK 11 (as default) and JDK 8 installed > # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all > modules > # Use platform manager to add JDK 8 as new platform. > # Add a Payara 5.192 or 5.193 server > # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: > JDK 8 -> Close > # Services -> Server -> Payara Server -> Start > Expected behaviour: > Successful startup messages in Payara Server console > Actual behaviour: > Failure messages in Payara Server console: > Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > This is a known issue in the original Payara eclipse plugin tooling, see: > [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11] -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists