You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "Sergey7701 (via GitHub)" <gi...@apache.org> on 2024/02/24 17:47:54 UTC
[I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Sergey7701 opened a new issue, #7109:
URL: https://github.com/apache/netbeans/issues/7109
### Apache NetBeans version
Apache NetBeans 21
### What happened
After installing netbeans, I found that it does not start because it incorrectly identifies the user's folder. Replacing the launcher with the old one from version 20 solved the problem

### Language / Project Type / NetBeans Component
_No response_
### How to reproduce
rename the user's folder to a Cyrillic name
### Did this work correctly in an earlier version?
Apache NetBeans 20
### Operating System
Windows 11 23H2
### JDK
jdk-17.0.1
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke closed issue #7109: Apache NetBeans does't launch on Windows if userdir contains non-English symbols
URL: https://github.com/apache/netbeans/issues/7109
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Posted by "Sergey7701 (via GitHub)" <gi...@apache.org>.
Sergey7701 commented on issue #7109:
URL: https://github.com/apache/netbeans/issues/7109#issuecomment-1963059473
I reinstalled Netbeans with jdk 21 and the problem was resolved

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #7109:
URL: https://github.com/apache/netbeans/issues/7109#issuecomment-1963044188
@Sergey7701 Some follow-up questions:
1) What is the correct name of the user directory here? (In Cyrillic characters)
2) Could you see if the problem persists (with the latest version of the launcher that caused the problem) if you delete the NetBeans *cache* directory and try to restart NetBeans? (The cache directory is a different directory that is likely at C:\Users\<username>\AppData\Local\NetBeans\Cache\dev
3) Could you try running the netbeans64.exe launcher from the Windows command line, with the "--trace launcherlog.txt" option, and include both the output on the command line and the contents of the launcherlog.txt file?
4) In the Windows control panel, go to Time & language > Language & region -> Related settings -> Administrative language settings -> Change system locale. What is listed as the "Current system locale"? Is the "Beta: Use Unicode UTF-8 for worldwide language support" checkbox checked or not? (It shouldn't have to be.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #7109:
URL: https://github.com/apache/netbeans/issues/7109#issuecomment-1963068355
Great! I'm fairly certain that the issue is the aforementioned JDK bug, then, and so the recommendation to others who encounter this would be to upgrade to the latest Java version. (Or latest the latest patch release of Java 11 or Java 17 if they prefer those Java versions for any reason.)
Thanks for the report!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #7109:
URL: https://github.com/apache/netbeans/issues/7109#issuecomment-1963023919
@eirikbakke @ebarboni I think this might be the first version of NetBeans that has actually shipped with the launcher changes introduced in https://github.com/apache/netbeans-native-launchers/pull/7 ??? Is this actually a regression caused by that somehow?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Apache NetBeans does't launch on Windows if userdir contains non-English symbols [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #7109:
URL: https://github.com/apache/netbeans/issues/7109#issuecomment-1963048118
Ah, I think you might need a newer Java version; at least Java 17.0.5, which contains a backport of JDK bug [JDK-8272352](https://bugs.openjdk.org/browse/JDK-8272352).
NetBeans 21 does work for me without modification on Java 17.0.9 when run with a user with cyrillic characters in their username and home directory:
<img width="379" alt="about-cyrillic" src="https://github.com/apache/netbeans/assets/886243/83b44d90-e026-4c77-ae35-54b51eb944bf">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists