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.

Bug 163642 - Use JVM selected in Java preferences app
Summary: Use JVM selected in Java preferences app
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 23:16 UTC by synchro
Modified: 2015-11-03 14:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description synchro 2009-04-24 23:16:03 UTC
I used the Java preferences application to set my preferred JVM to Java SE 6, but my nightly build of NetBeans for PHP
still runs under 1.5. Looking in /Applications/NetBeans/NetBeans Dev
200904220201.app/Contents/Resources/NetBeans/etc/netbeans.conf I can see that it's hard-coded to 1.5. Changing it
manually to 1.6 seems to work OK, but it would be better if it just followed the system preference.
Comment 1 Stanislav Aubrecht 2009-04-27 07:30:57 UTC
jvm settings in options dialog apply only to building/running java application from the ide. jvm for running the actual
netbeans ide must be set either at install time or manually by editing etc/netbeans.conf file
Comment 2 synchro 2009-04-27 09:36:42 UTC
I didn't say anything about the jvm options for built apps (I'm not writing Java), only the IDE itself.

There is no option to select the JVM at install time on OS X.

If it is disobeying system settings and must be set manually, I'd call that a bug. If you think that's OK, then by all means reclassify it as an enhancement, but 
it's certainly not invalid.
Comment 3 Stanislav Aubrecht 2009-05-05 08:44:12 UTC

*** This issue has been marked as a duplicate of 164245 ***
Comment 4 kalle1 2015-11-03 14:10:10 UTC
This is not a duplicate of #164245 since no GUI option has been requested there (the reporter was satisfied with the recognition of the JVM based on OS preferences).

Please explain why it's a Macintosh issue instead of a cross-platform issue and a defect instead of an enhancement.