This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Convert Scala to Java" Watch "Convert Scala to Java" New topic

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

Joined: May 22, 2012
Posts: 866

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:
subject: Convert Scala to Java
Similar Threads
Which is better Groovy or Scala?
Maven + scala + java
questions about Process and Runtime()
Little forum activity = FewScala users?
How Scala faster than Java?