~$ cat /etc/netbeans.conf
# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="${HOME}/.netbeans/6.0"
# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m
-J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none
-J-Dapple.laf.useScreenMenuBar=true"
# (Note that a default -Xmx is selected for you automatically.)
# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled
-J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)
# Default location of JDK, can be overridden by using --jdkhome <dir>:
netbeans_jdkhome="/usr/lib/jvm/java-6-sun"
# Additional module clusters, using ${path.separator} (';' on Windows
or ':' on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
END_PASTE
Looks like it detects java-sun package.
Could this be result of upgrading from Gutsy ? (I installed sun java in gutsy)
On Mon, Aug 4, 2008 at 5:51 PM, Marek Slama <email address hidden> wrote:
> What is content of /etc/netbeans.conf? Postinstall step should detect
> either sun-java6 or openjdk-6 and set it in netbeans.conf.
>
> --
> Netbeans startup/module-loading warning/error
> https://bugs.launchpad.net/bugs/254587
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "netbeans" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: netbeans
>
> Using: Ubuntu 8.04.1 full updated (upgraded from gutsy)
>
> Everything installs fine.
> When trying to start the ide from menu I get the following error: (screen shot attached)
>
> """
> Warning - could not install module JPDA Debugger API
> JPDA Debugger API - This module requires JDKHOME/lib/tools.jar to be accessible.
> This file was not found. Usually this means you are trying to run the IDE with the JRE instead of the full JDK.
> If so, please use the --jdkhome command line option to specify a JDK installation.
> """
>
> Workaround
> =======
>
> If I start the program from cli with:
>
> $netbeans --jdkhome /usr/lib/jvm/java-6-openjdk
>
> everything works fine, no errors and ide works great.
>
Content of /etc/netbeans.conf :
BEGIN COPY:
~$ cat /etc/netbeans.conf default_ userdir= "${HOME} /.netbeans/ 6.0"
# ${HOME} will be replaced by JVM user.home system property
netbeans_
# Options used by NetBeans launcher by default, can be overridden by explicit default_ options= "-J-client -J-Xss2m -J-Xms32m ze=200m -J-Xverify:none laf.useScreenMe nuBar=true"
# command line switches:
netbeans_
-J-XX:PermSize=32m -J-XX:MaxPermSi
-J-Dapple.
# (Note that a default -Xmx is selected for you automatically.)
# If you specify the heap size (-Xmx) explicitely, you may also want to enable default_ options: UseConcMarkSwee pGC -J-XX:+ CMSClassUnloadi ngEnabled CMSPermGenSweep ingEnabled wiki.netbeans. org/wiki/ view/FaqGCPause s)
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_
# -J-XX:+
-J-XX:+
# (see http://
# Default location of JDK, can be overridden by using --jdkhome <dir>: jdkhome= "/usr/lib/ jvm/java- 6-sun"
netbeans_
# Additional module clusters, using ${path.separator} (';' on Windows extraclusters= "/absolute/ path/to/ cluster1: /absolute/ path/to/ cluster2"
or ':' on Unix):
#netbeans_
END_PASTE
Looks like it detects java-sun package.
Could this be result of upgrading from Gutsy ? (I installed sun java in gutsy)
On Mon, Aug 4, 2008 at 5:51 PM, Marek Slama <email address hidden> wrote: module- loading warning/error /bugs.launchpad .net/bugs/ 254587 lib/tools. jar to be accessible. jvm/java- 6-openjdk
> What is content of /etc/netbeans.conf? Postinstall step should detect
> either sun-java6 or openjdk-6 and set it in netbeans.conf.
>
> --
> Netbeans startup/
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "netbeans" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: netbeans
>
> Using: Ubuntu 8.04.1 full updated (upgraded from gutsy)
>
> Everything installs fine.
> When trying to start the ide from menu I get the following error: (screen shot attached)
>
> """
> Warning - could not install module JPDA Debugger API
> JPDA Debugger API - This module requires JDKHOME/
> This file was not found. Usually this means you are trying to run the IDE with the JRE instead of the full JDK.
> If so, please use the --jdkhome command line option to specify a JDK installation.
> """
>
> Workaround
> =======
>
> If I start the program from cli with:
>
> $netbeans --jdkhome /usr/lib/
>
> everything works fine, no errors and ide works great.
>