This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Add possibility to setup JDK from the IDE (was:No way to change default Java platform) | ||
---|---|---|---|
Product: | platform | Reporter: | kitfox <kitfox> |
Component: | -- Other -- | Assignee: | issues@platform <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | dusanmsk, malfunction84, psomol, Tonka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
kitfox
2005-07-27 02:46:05 UTC
If you want to change the JVM the IDE is running on you need to either pass --jdkhome=<jdk_installation> or you can modify property netbeans_jdkhome in netbeans.conf file in etc folder in your IDE installation. If you want to run your project with different JDK than default you need to register the JDK in your IDE by Tools | Options | Java Platform Manager and then you assign the platform to the project in its Properties dialog under node Libraries. Feel free to reopen, if the hint did not solve your problem It isn't very convenient to have to update the netbeans.conf file manually. Could you add a "Make Default" button to the IDE's Java Platform Manager dialog so we can change the default platform from within the IDE itself? This button would just update the netbeans_jdkhome value defined in etc/netbeans.conf to the Platform Folder of the selected platform, and it would only take effect after restarting the IDE. *** Bug 161446 has been marked as a duplicate of this bug. *** *** Bug 231581 has been marked as a duplicate of this bug. *** *** Bug 234324 has been marked as a duplicate of this bug. *** Requires some new naming conventions. The Default platform in NB is a special platform on which the IDE runs, the build-impl.xml differs to build-impl.xml for non default platform. The new project (at least Ant) is not created with default platform but with last used platform. We may add something like "preferred" platform which overrides the last used behaviour. |