- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
scala library used by java app in netbeans
Mon, 2010-06-21, 14:16
I already posted this question in stackoverflow, without success ...
I'm developing a scala library, which I would like to be used by java
If I set up a java project in netbeans, with a reference to the scala
library (jar), I can compile the java project without errors.
However I get problems when running the java project directly from
netbeans (code from scala library is not executed e.g. for scala object
methods), while when running it without ant (directly with java -jar
.... on the command line in the /dist folder) everything works.
Does anyone have an idea why?
(I have added the scala-library.jar to the classpath of the scal and