File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling a Java class containing a Scala call

 
Joe Harry
Ranch Hand
Posts: 10047
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I have a test program which inturn calls a Java class and in this Java class, I call a Scala class (or object, whatever it means in Scala). When I try to run my Test class, I get the following error:



Initially I though it might be due to the SCALA_HOME not being set. But I have set it and still get to see this error. Any idea as to why this is not executing?
 
Joe Harry
Ranch Hand
Posts: 10047
3
Eclipse IDE Mac PPC Ubuntu
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. Got this to work. Added the scala-library.jar to the classpath in the java command line option.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic