Windows 7 上的 Netbeans 3

发布于 2024-10-10 15:31:01 字数 7210 浏览 1 评论 0原文

有人设法使 Netbeans 3 在 Windows 7 上运行吗?我意识到这违背了一切神圣的事情,但我要么尝试让它工作,购买新硬件,要么将整个项目升级到更高版本的 IDE...

我必须手动设置我的 JAVA_HOME 并在命令上放置一个文件夹路径运行安装程序时的行,但之后我在安装日志中收到以下错误:

Found matching JVM at c:\Java\jdk1.5.0_06
Matching JVM home is c:\Java\jdk1.5.0_06
Matching JVM file is C:\Users\spalmer\AppData\Local\Temp\LRE72A4.tmp
Executing launch script command: "c:\Java\jdk1.5.0_06/bin\java.exe" -cp "";"C:\Users\spalmer\AppData\Local\Temp\LRE72A5.tmp\setup.jar";"" -Dtemp.dir="C:\Users\spalmer\AppData\Local\Temp" -Dis.jvm.home="c:\Java\jdk1.5.0_06" -Dis.jvm.temp="0" -Dis.media.home="C:\Users\spalmer\AppData\Local\Temp\LRE72A5.tmp\setup.jar" -Dis.launcher.file="C:\development\surveycollector\trunk\docs\Everything you need to set up a survey collector\netbeans-3_6-windows.exe" -Dis.jvm.file="C:\Users\spalmer\AppData\Local\Temp\LRE72A4.tmp" -Dis.external.home="C:\development\surveycollector\trunk\docs\Everything you need to set up a survey collector"   -Xms20m -Xmx60m  run  in working directory C:\development\surveycollector\trunk\docs\Everything you need to set up a survey collector
Output from the launch script execution
StdOut:

ErrOut:
An error occurred during wizard bean change notification:
java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at com.installshield.wizard.awt.AWTWizardUI.setCurrent(AWTWizardUI.java:1827)
    at com.installshield.wizard.awt.AWTWizardUI.runnableBeanStarted(AWTWizardUI.java:1873)
    at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:127)
    at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
    at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1545)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Has anyone managed to make Netbeans 3 work on Windows 7? I realise this is against everything that is holy, but I either try and get it working, buy new hardware, or upgrade the whole project to a later IDE...

I had to manually set my JAVA_HOME and place a folder path on the command line when running the installer, but after that I am getting the following error in the install log:

Found matching JVM at c:\Java\jdk1.5.0_06
Matching JVM home is c:\Java\jdk1.5.0_06
Matching JVM file is C:\Users\spalmer\AppData\Local\Temp\LRE72A4.tmp
Executing launch script command: "c:\Java\jdk1.5.0_06/bin\java.exe" -cp "";"C:\Users\spalmer\AppData\Local\Temp\LRE72A5.tmp\setup.jar";"" -Dtemp.dir="C:\Users\spalmer\AppData\Local\Temp" -Dis.jvm.home="c:\Java\jdk1.5.0_06" -Dis.jvm.temp="0" -Dis.media.home="C:\Users\spalmer\AppData\Local\Temp\LRE72A5.tmp\setup.jar" -Dis.launcher.file="C:\development\surveycollector\trunk\docs\Everything you need to set up a survey collector\netbeans-3_6-windows.exe" -Dis.jvm.file="C:\Users\spalmer\AppData\Local\Temp\LRE72A4.tmp" -Dis.external.home="C:\development\surveycollector\trunk\docs\Everything you need to set up a survey collector"   -Xms20m -Xmx60m  run  in working directory C:\development\surveycollector\trunk\docs\Everything you need to set up a survey collector
Output from the launch script execution
StdOut:

ErrOut:
An error occurred during wizard bean change notification:
java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at com.installshield.wizard.awt.AWTWizardUI.setCurrent(AWTWizardUI.java:1827)
    at com.installshield.wizard.awt.AWTWizardUI.runnableBeanStarted(AWTWizardUI.java:1873)
    at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:127)
    at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
    at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1545)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.awt.Dimension.<init>(Dimension.java:91)
    at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
    at com.installshield.wizard.awt.ColumnLayout.layoutContainer(ColumnLayout.java:174)
    at java.awt.Container.layout(Container.java:1401)
    at java.awt.Container.doLayout(Container.java:1390)
    at java.awt.Container.validateTree(Container.java:1473)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validateTree(Container.java:1480)
    at java.awt.Container.validate(Container.java:1448)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

旧时浪漫 2024-10-17 15:31:01

我建议将项目导入到较新版本的 IDE。您将使代码更易于访问以满足未来的需要。否则你只会让一个明显的问题长期存在。

如果这是不可能的(有时这不是我们的决定),您可以查看另一个虚拟机选项:http://www.virtualbox。组织/

I would suggest importing the project to a newer version of the IDE. You'll make the code more accessible for future needs. Otherwise you're just perpetuating an obvious problem.

If that's not possible (sometimes it's not our call) here's another VM option you can check out: http://www.virtualbox.org/

茶底世界 2024-10-17 15:31:01

我刚刚找到了解决问题的更简单方法:

C:\Java>SET JAVA_HOME='C:\j2sdk1.4.2_17'

C:\Java>netbeans-3_6-windows >

如您所见,这就是我所要做的全部工作,并且 Netbeans 已完美安装,使用 Java 1.4 作为运行时。

以防万一您仍然需要它。

I just found a simpler fix to our problem:

C:\Java>SET JAVA_HOME='C:\j2sdk1.4.2_17'

C:\Java>netbeans-3_6-windows

As you see, that's all I had to do and Netbeans installed perfectly, using Java 1.4 as runtime.

Just in case you need it still.

天涯离梦残月幽梦 2024-10-17 15:31:01

查看 Windows 虚拟 PC(Windows XP 模式或 Win 7)。在其上安装 Netbeans 3 可能会成功。

Check out Windows Virtual PC (Windows XP Mode or Win 7). Installing Netbeans 3 on it might do the trick.

魂ガ小子 2024-10-17 15:31:01

我的猜测是 Java 5 对于 NB3 来说太新了。尝试 Java 1.4.2 甚至 1.3.something。

My guess is that Java 5 is too new for NB3. Try Java 1.4.2 or maybe even 1.3.something.

一曲爱恨情仇 2024-10-17 15:31:01

我在不同的场景中使用旧的 JExpress 安装程序遇到了类似的 NPE。我找到了解决方法

解决方法是将桌面主题更改为某些默认主题,例如 Win XP 或 Classic。那么就不会出现这个问题了。

I had the similar NPE in a different szenario with an old JExpress installer. I found a workaround.

The workaround is to change desktop theme to some default theme like Win XP or Classic. Then this problem does not happen.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文