You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Boris Heithecker (JIRA)" <ji...@apache.org> on 2018/03/26 09:41:00 UTC
[jira] [Updated] (NETBEANS-523) Running a simple NetBeans module
fails
[ https://issues.apache.org/jira/browse/NETBEANS-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Heithecker updated NETBEANS-523:
--------------------------------------
Description:
Create a platform suite and a module using the wizard, leaving default settings as they are. Add an action, also leaving suggested setting. Right-clicking "run" on the module fails for me with:
"Cannot find java. Please use the --jdkhome switch.
Result: 2"
Note: I don't have a jdk in my system path environment. Jdk location is specified in "install-dir/etc/netbeans.conf".
Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" gives the same result.
Note 3: If I manually choose a different java platform (not the "default" one) the application runs as expected. So the problem seems to be that the "netbeans_jdkhome" in etc/netbeans.conf switch is not respected when launching a netbeans platform app.
was:
Create a platform suite and a module using the wizard, leaving default settings as they are. Add an action, also leaving suggested setting. Right-clicking "run" on the module fails for me with:
"Cannot find java. Please use the --jdkhome switch.
Result: 2"
Note: I don't have a jdk in my system path environment. Jdk location is specified in "install-dir/etc/netbeans.conf".
Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" gives the same result.
> Running a simple NetBeans module fails
> --------------------------------------
>
> Key: NETBEANS-523
> URL: https://issues.apache.org/jira/browse/NETBEANS-523
> Project: NetBeans
> Issue Type: Bug
> Reporter: Boris Heithecker
> Priority: Major
>
> Create a platform suite and a module using the wizard, leaving default settings as they are. Add an action, also leaving suggested setting. Right-clicking "run" on the module fails for me with:
> "Cannot find java. Please use the --jdkhome switch.
> Result: 2"
> Note: I don't have a jdk in my system path environment. Jdk location is specified in "install-dir/etc/netbeans.conf".
> Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" gives the same result.
> Note 3: If I manually choose a different java platform (not the "default" one) the application runs as expected. So the problem seems to be that the "netbeans_jdkhome" in etc/netbeans.conf switch is not respected when launching a netbeans platform app.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists