This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Scala and the fly likes Convert Scala to Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Convert Scala to Java" Watch "Convert Scala to Java" New topic
Author

Convert Scala to Java

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Hell all,

I need to convert scala to Java. In other words, I need to convert Scala based JavaCV examples to Java. I really don't want to learn scala. Can anyone suggest me a way? A tool, site, addon or whatever. Please help.


Are you better than me? Then please show me my mistakes..
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 867
    
    5
http://en.wikipedia.org/wiki/Scala_%28programming_language%29

Scala's operational characteristics are the same as Java's. The Scala compiler generates byte code that is nearly identical to that generated by the Java compiler. In fact, Scala code can be decompiled to readable Java code, with the exception of certain constructor operations. To the JVM, Scala code and Java code are indistinguishable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert Scala to Java