How to use Jamvm SDK in IntellyJ?
Answered
I have downloaded the jamvm and I want to add a SDK to use jamvm in IntelliJ idea, how do I do that? How do I combine openjdk-8 with jamvm so I can get my hello world build and run in linux?
Thanks
Please sign in to leave a comment.
If it's about https://jamvm.sourceforge.net/, you can change the boot Java runtime of IDEA following these instructions, but doing these may cause unexpected problems and is not recommended.
If you want to add an SDK, please follow this page.
Thanks Sergei! I was able to run hello world using Jamvm and gnu classpath. Now I have a more complicated java project that was in IDEA using openjdk-8 that doesn’t match the bytecode of jamvm, how to degrade to java 5 in order to run with Jamvm?
Sorry, it's not very clear about project structure and the end goal, and unfortunately we don't support Jamvm. You can experiment with language level settings in your project and modules. If you need to refactor existing code from jdk8 to jdk5 you can try to use Migrate functionality.