LightDestory / NetBeans-JavaSE-Portable

NetBeans IDE for JavaSE in a portable package
4 stars 3 forks source link

Error on portableapps #1

Open emad4ald opened 3 years ago

emad4ald commented 3 years ago

I get this error

Error: The specified folder does not contain a Java platform. image

LightDestory commented 3 years ago

Please read carefully the README. This package comes without a JDK. You have two choices:

emad4ald commented 3 years ago

I have jdk portable But the app still has issue

image

LightDestory commented 3 years ago

Maybe an update of the platform broke the support for my Launcher.ini. It can be easily fixed but it requires your manual work, this package is quite outdated and NetBeans 8 has been discontinued, for example the "on-line" installs of my portable editions are broken due to missing downloading link. So I am not going to support this package anymore.

It seems that your PortableApps environment sets the variable %JAVA_HOME% into Device:\Portable\Apps\PortableApps\CommonFiles\Java, which I suppose is a JRE folder but we need a JDK folder. From your screenshot I can see you got both OpenJDK and OracleJDK. To fix your issue: