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.
Summary: | scala console and scala_home | ||
---|---|---|---|
Product: | contrib | Reporter: | pezzacolori <pezzacolori> |
Component: | Scala | Assignee: | _ dcaoyuan <dcaoyuan> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
pezzacolori
2009-10-25 23:03:44 UTC
I could figure out that the problem is probably a general problem of Netbeans on ubuntu or linux platforms: Netbeans is not always PATH-aware, depending on how this environment variables are set. Setting them in ~/.bhsrc makes them available to Netbeans only if : -1 the bash terminal is started -2 Netbeans is started from that console Using the menu shortcut doesn't allow Netbeans to read the environment variables set in ~/.bshrc, not even if the shortcut is set as "Application in terminal" (which actually starts up a terminal)! I could solve it setting the environment variables in ~/.profile instead of ~/.bshrc, which should set the login console. A small note on this in the wiki could be helpful for the linux newbies like me ... Cheers, Boris Adding -J-Dscala.home=<yourscaladir> to the netbeans_default_options in netbeans-7.1.1/etc/netbeans.conf should do the trick as well. |