You are not logged in.

#1 2007-05-19 19:49:27

maartenfabre
Member
Registered: 2005-06-28
Posts: 5

Netbeans 6.0

hello,
i want to do some Ruby on Rails programming with the new netbeans 6.0 Milestone 9. To be able to test it directly and install a database i decided to do this on Archlinux. This is a fresh and up-to-date install of Archlinux. j2re and j2sdk are installed. I downloaded the netbeans-6.0m9-full-linux.sh from netbeans.org.
I start the installation and costumize it (no J2EE or mobile stuff). But after some time the installation halts. a log is written.
these are the latest lines from the log

[2007-05-19 21:44:17.488]:         [return]: 0
[2007-05-19 21:44:17.489]:     ... command execution finished
[2007-05-19 21:44:17.571]:     executing command: chmod ugo+x nbexec , in directory: /home/maarten/netbeans/platform7/lib
[2007-05-19 21:44:17.632]:         [return]: 0
[2007-05-19 21:44:17.633]:     ... command execution finished
[2007-05-19 21:44:17.757]:     org.netbeans.installer.utils.exceptions.InstallationException: Cannot create Start Menu entries
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.products.nb.base.ConfigurationLogic.install(ConfigurationLogic.java:171)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.product.components.Product.install(Product.java:263)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.wizard.components.actions.InstallAction.execute(InstallAction.java:127)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:103)
[2007-05-19 21:44:17.757]:     Caused by: org.netbeans.installer.utils.exceptions.NativeException: Cannot create shortcut
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.utils.system.UnixNativeUtils.createShortcut(UnixNativeUtils.java:197)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.utils.SystemUtils.createShortcut(SystemUtils.java:441)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.products.nb.base.ConfigurationLogic.install(ConfigurationLogic.java:167)
[2007-05-19 21:44:17.757]:         ... 3 more
[2007-05-19 21:44:17.757]:     Caused by: java.io.IOException: Permission denied
[2007-05-19 21:44:17.757]:         at java.io.UnixFileSystem.createFileExclusively(Native Method)
[2007-05-19 21:44:17.757]:         at java.io.File.createNewFile(File.java:883)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.utils.FileUtils.writeFile(FileUtils.java:158)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.utils.FileUtils.writeFile(FileUtils.java:129)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.utils.FileUtils.writeFile(FileUtils.java:90)
[2007-05-19 21:44:17.757]:         at org.netbeans.installer.utils.system.UnixNativeUtils.createShortcut(UnixNativeUtils.java:195)
[2007-05-19 21:44:17.757]:         ... 5 more

The shortcut on the desktop is placed, but the install was not completed. When I try to open a new project, it doesn't show the options.
I tried again after deleting the ~/netbeans and ~/.nbi directory, but with the same result.

I tried installing netbeans as root as well, but then i got other exeptions (probably due to the fact i cant write to the Netbeans-folder)

Does anyone has an idea how to solve this?

Offline

#2 2007-05-19 20:01:04

maartenfabre
Member
Registered: 2005-06-28
Posts: 5

Re: Netbeans 6.0

i installed it as root again. It installs, but at the start i get this error

java.io.IOException: could not run [/bin/chmod, u+rx, jruby, gem_server, rake, generate_yaml_index.rb, jirb, gem, jruby.rb, rdoc, gemlock, index_gem_repository.rb, rails, update_rubygems, testrb, gemwhich, jrubyc, gemri, gem_mirror]
    at org.netbeans.api.ruby.platform.RubyInstallation.ensureExecutable(RubyInstallation.java:746)
    at org.netbeans.modules.ruby.rubyproject.RubyProjectModuleInstaller.restored(RubyProjectModuleInstaller.java:40)
    at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:354)
    at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:273)
    at org.netbeans.ModuleManager.enable(ModuleManager.java:903)
    at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:380)
    at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:316)
    at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:260)
    at org.netbeans.core.startup.Main.getModuleSystem(Main.java:149)
    at org.netbeans.core.startup.Main.start(Main.java:300)
    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:88)
[catch] at java.lang.Thread.run(Thread.java:619)

Offline

#3 2007-05-20 08:26:20

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Re: Netbeans 6.0

Would netbeans 5.5 do? There is a package for it on AUR.

http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

If not, perhaps the PKGBUILD 5.5 might help you out.

Offline

#4 2007-05-20 10:28:49

maartenfabre
Member
Registered: 2005-06-28
Posts: 5

Re: Netbeans 6.0

it would do no good, since the ruby on rails integration is only present since milestone 9 of 6.0

Offline

Board footer

Powered by FluxBB