I tried in Virtualbox / Ubuntu and it starts using the generated script with default settings (no need to edit netbeans.conf).
Note:
There is a syntax error (quotes not closed) in the generated netbeans. conf:
#
# Cachedir must be different from userdir. The same cachedir and userdir
# would cause problems.
#
default_userdir="${DEFAULT_USERDIR_ROOT}/dev"
default_cachedir=""${DEFAULT_CACHEDIR_ROOT}/dev"
Regards
Helmut
Am 02.02.2019 um 15:19 schrieb Emilian Bold:
> So it looks like your exe isn't reading the conf file for some reason.
> Can you start the app on a Linux machine? Then we see if it's an .exe
> launcher issue or a general configuration issue you have.
>
> --emi
>
> On Sat, Feb 2, 2019 at 2:27 PM Helmut Leininger <[email protected]> wrote:
>> Hi,
>>
>> I just found a bypass. It works if xxx.exe --jdkhome is specified.
>>
>> Regards
>> Helmut
>>
>> Am 02.02.2019 um 13:22 schrieb Helmut Leininger:
>>
>> Sorry, it is Netbeans 10.
>>
>> Am 02.02.2019 um 13:06 schrieb Helmut Leininger:
>>
>> Hi,
>>
>> I am running on Windows10, Netbeans 9.0, Java openjdk-11.
>>
>> I have a Netbeans platform application which runs ok when started within
>> Netbeans.
>>
>> When started from the launcher (xxx.exe), you get a message "Cannot find
>> Java 1.8 or higher" and the program aborts. JAVA_HOME and netbeans_jdkhome
>> in netbeans.conf is ok. What can be done?
>>
>> NB:
>> Other Java applications developped with Netbeans 9.0 not using Platform
>> execute well. If I install Oracle Java in addition to openjdk, the
>> applications runs ok without changing the settings.
>>
>> Regards
>> Helmut
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<<attachment: hlein.vcf>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
