Jump to content

tam007

Members
  • Posts

    1
  • Joined

  • Last visited

tam007's Achievements

  1. I don't know if anyone still has issue "This application requires a Java Runtime Environment 11" So I would like to share alternative method for window platform if it can help someone who come to game later. (test for PokeMMO portable version on Windows 10 with openjdk 11 : work) This run via window batch file (idea from PokeMMO.sh) and steps are: 1. download Java JDK 11 or higher to your computer (Oracle, Azul Zulu or other java but I use openjdk 11) 2. extract zip/rar file from 1. to your desire location. After that, you will see "Your_Directory/Your_Java" Directory. Example in my case, I place it in -> C:\Program Files\Java\jdk11 3. Go into "bin" directory and check for java.exe this should come with java you downloaded 4. open your Notepad and copy "C:\Program Files\Java\jdk11\bin\java.exe" -Xmx384M -Dfile.encoding="UTF-8" -cp PokeMMO.exe com.pokeemu.client.Client * note1 : this is java 11 path that i extract "C:\Program Files\Java\jdk11\bin\java.exe". Change it your java 11 location ( "YOUR_JAVA_PATH\bin\java.exe" ) * note2 : if your path has space, cover your path with " Then save it as batch file (.bat) ( File -> Save as -> your_file_name.bat where your_file_name is whatever name you want ) 5. Go into PokeMMO directory, and place batch file from 4. to the same location of PokeMMO.exe 6. Test run batch file to see whether it work. 7. In the future, if game require higher java version 12, 13, 14, ... Edit java path in batch file replace with path to new version. (or repeat from step 1 ) It may work again. ** If you don't trust code from 4. you can get idea from PokeMMO.sh which is come with game in your PokeMMO directory to write working code. sorry for my poor English and I hope this help.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.