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

Exception in thread "main" java.lang.UnsupportedOperationException #412

Closed
DoctorLimitless opened this issue Apr 9, 2022 · 5 comments
Closed
Labels

Comments

@DoctorLimitless
Copy link

PS C:\Users\john\Downloads> java -jar .\Bytecode-Viewer-2.11.1.jar
Bytecode Viewer 2.11.1 [Fat Jar] - Created by @Konloch
https://bytecodeviewer.com - https://the.bytecode.club
Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:416)
at the.bytecode.club.bytecodeviewer.BytecodeViewer.main(BytecodeViewer.java:183)

@DoctorLimitless DoctorLimitless changed the title Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release at java.base/java.lang.System.setSecurityManager(System.java:416) at the.bytecode.club.bytecodeviewer.BytecodeViewer.main(BytecodeViewer.java:183) Exception in thread "main" java.lang.UnsupportedOperationException Apr 9, 2022
@ThexXTURBOXx
Copy link
Contributor

Already "fixed" on master. Either enable the Security Manager, take an older version of Java or use this snapshot release of BCV: https://github.com/Konloch/bytecode-viewer/suites/6058420798/artifacts/209066260

@Konloch Konloch added the Bug label Apr 11, 2022
@Konloch
Copy link
Owner

Konloch commented Apr 11, 2022

v2.11.2 is live now as well so this should be resolved officially, thank you for reporting this issue!

@ricardozv
Copy link

On terminal this error
$ bytecode-viewer
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Bytecode Viewer 2.10.16 [Fat Jar] - Created by @Konloch
https://bytecodeviewer.com - https://the.bytecode.club
Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:423)
at the.bytecode.club.bytecodeviewer.BytecodeViewer.main(BytecodeViewer.java:173)

@ThexXTURBOXx
Copy link
Contributor

Your version of BCV is way too outdated. Either use an older version of Java (I would recommend Java 8) or upgrade BCV

@ricardozv
Copy link

Thanks

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

No branches or pull requests

4 participants