I want to change my default Scala platform in netbeans under
tools->scala platforms
I cannot delete the default platform and I can’t define another default platform, just additional ones!
The default platform path doesnt work (error) and somehow it does not find scala when i copy the scala platform to the path of the default platform.
Is there a way to do this in NetBeans or in the NetBeans config files?
thanks for any help!
Answer(Max OSX):
Go to
/installation/path/NetBeans x.y.app/Contents/Resources/NetBeans/etc/netbeans.conf
change netbeans_defaut_options:
netbeans_default_options="..... -J-Dscala.home=/scala/installation/path/scala-x.x.x.y"
I am not sure if the notion of scala platform is still relevant with the current versions of the Scala Netbeans plugin.
See bug 172214:
The latest NetBeans6.9 Scala instructions recommend setting
$SCALA_HOMEenvironment variable to point to the installed Scala runtime path.And to Add
$SCALA_HOME/bintoPATHenvironment variable.