Ubuntu: OpenJDK 8 – Unable to locate package

UPDATE: installation without root privileges below I advise you to not install packages manually on ubuntu system if there is already a (semi-official) repository able to solve your problem. Further, use Oracle JDK for development, just to avoid (very sporadic) compatibility issues (i’ve tried many years ago, it’s surely better now). Add the webupd8 repo to your … Read more

How to fix “unsupported class file major version 60” in IntelliJ?

I fixed this problem by changing the Gradle JVM settings in IntelliJ settings: In the Settings/Preferences dialog, go to Build, Execution, Deployment | Build Tools | Gradle. Under the Gradle section, change the Gradle JVM option. Select a Gradle JVM which works for you. See https://www.jetbrains.com/help/idea/gradle-jvm-selection.html#jvm_settings

How to change already compiled .class file without decompile?

I want to change .class file’s method. I installed JD Eclipse Decompiler and opened the .class file. I added some codes and save .class file. But, .class file is not changing. I don’t know how to use decompiler. And if is it possible, how to change .class file without using decompiler. I am using Ubuntu. … Read more