cant find the path of jdk

duffycrack

  • Posts: 1
Hi to everyone and sorry for my bad english.
i have exported my game in flash and for chrome web store but wen i try in html5 i see this message
Stencyl require java 8 or newer jdk...
but i have java 8 installed and i can test the game in html5(work perfectly with the ecception of the intro song that start after 10 second...this is another problem)
i have installed java in this path according with the java preferences:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
but  in the stencyl tool window were i have to select the path for the jdk  i cant click on any java plugin(they are transparent)or put directly the right path(copied esactly from the java preferences)....i dont know wat to do...thanks for any reply

Justin

  • *
  • Posts: 4716
Are you sure that's a JDK, and not a JRE? Stencyl will run file and allow you to test HTML5 games with just a JRE, but you need the JDK to actually publish the game.

You can grab a JDK from this site and install it.

https://adoptopenjdk.net/releases.html
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

colburt187

  • *
  • Posts: 2416
Hi to everyone and sorry for my bad english.
i have exported my game in flash and for chrome web store but wen i try in html5 i see this message
Stencyl require java 8 or newer jdk...
but i have java 8 installed and i can test the game in html5(work perfectly with the ecception of the intro song that start after 10 second...this is another problem)
i have installed java in this path according with the java preferences:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
but  in the stencyl tool window were i have to select the path for the jdk  i cant click on any java plugin(they are transparent)or put directly the right path(copied esactly from the java preferences)....i dont know wat to do...thanks for any reply


I had a similar issue with this, Stencyl doesn't let you select the path. I fixed it by pasting the answer in this thread and changing the java to the version I have http://community.stencyl.com/index.php/topic,58359.msg307046.html#msg307046

/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home