You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Brad Walker <bw...@musings.com> on 2022/04/23 03:21:23 UTC
? about starting up Netbeans
I have built Netbeans from source form. Then I copy the nbbuild/netbeans
directory to an install location. From there, I'm attempting to start it
but getting an error message.
[bwalker@fedora netbeans]$ ./bin/netbeans
WARNING: package com.apple.eio not in java.desktop
-------------------------------------------------------------------------------
>Log Session: Friday, April 22, 2022 at 9:18:05 PM Mountain Daylight Time
>System Info:
Product Version = Apache NetBeans IDE DEV (Build
dev-497377ca9c0825e1d0606194fccd0d120b0b1adc) (#497377ca9c08)
Operating System = Linux version 5.16.20-200.fc35.x86_64 running
on amd64
Java; VM; Vendor = 11.0.14.1; OpenJDK 64-Bit Server VM
11.0.14.1+1; Red Hat, Inc.
Runtime = OpenJDK Runtime Environment 11.0.14.1+1
Java Home =
/usr/lib/jvm/java-11-openjdk-11.0.14.1.1-5.fc35.x86_64
System Locale; Encoding = en_US (nb); UTF-8
Home Directory = /home/bwalker
Current Directory = /tmp/netbeans
User Directory = /home/bwalker/.netbeans/dev
Cache Directory = /home/bwalker/.cache/netbeans/dev
Installation = /tmp/netbeans/nb
/tmp/netbeans/ergonomics
/tmp/netbeans/ide
/tmp/netbeans/extide
/tmp/netbeans/java
/tmp/netbeans/apisupport
/tmp/netbeans/webcommon
/tmp/netbeans/websvccommon
/tmp/netbeans/enterprise
/tmp/netbeans/profiler
/tmp/netbeans/php
/tmp/netbeans/harness
/tmp/netbeans/cpplite
/tmp/netbeans/groovy
/tmp/netbeans/extra
/tmp/netbeans/javafx
/tmp/netbeans/platform
Boot & Ext. Classpath =
Application Classpath =
/tmp/netbeans/platform/lib/boot.jar:/tmp/netbeans/platform/lib/org-openide-modules.jar:/tmp/netbeans/platform/lib/org-openide-util.jar:/tmp/netbeans/platform/lib/org-openide-util-lookup.jar:/tmp/netbeans/platform/lib/org-openide-util-ui.jar
Startup Classpath =
/tmp/netbeans/platform/core/org-openide-filesystems-compat8.jar:/tmp/netbeans/platform/core/core.jar:/tmp/netbeans/platform/core/core-base.jar:/tmp/netbeans/platform/core/asm-9.2.jar:/tmp/netbeans/platform/core/asm-tree-9.2.jar:/tmp/netbeans/platform/core/asm-commons-9.2.jar:/tmp/netbeans/platform/core/org-netbeans-libs-asm.jar:/tmp/netbeans/platform/core/org-openide-filesystems.jar:/tmp/netbeans/nb/core/org-netbeans-upgrader.jar:/tmp/netbeans/nb/core/locale/core_nb.jar
-------------------------------------------------------------------------------
java.lang.IllegalStateException: Missing hosting module
org.netbeans.libs.javacimpl for fragment org.netbeans.modules.nbjavac.impl
at org.netbeans.ModuleManager.refineClassLoader(ModuleManager.java:909)
at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:527)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1330)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1254)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:316)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142)
at org.netbeans.core.startup.Main.start(Main.java:299)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
at java.base/java.lang.Thread.run(Thread.java:829)
[bwalker@fedora netbeans]$
I believe this used to work..
Is there something that I might be overlooking?
-brad w.
Re: ? about starting up Netbeans
Posted by Neil C Smith <ne...@apache.org>.
On Sat, 23 Apr 2022 at 04:21, Brad Walker <bw...@musings.com> wrote:
> I have built Netbeans from source form. Then I copy the nbbuild/netbeans
> directory to an install location.
Use `ant build` and the resulting zip file if you want to do that.
The contents of nbbuild/netbeans are not the same as the binaries
distributed.
> java.lang.IllegalStateException: Missing hosting module
> org.netbeans.libs.javacimpl for fragment org.netbeans.modules.nbjavac.impl
Sounds like you imported plugins from an older version and picked up
the old nb-javac? Don't do this. Or you have an old dev userdir and
cache around? Delete both and try launching again.
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists