Need help with compiling

Discussion in 'Plugin Development' started by toon7, Aug 10, 2012.

Thread Status:
Not open for further replies.
  1. Can anyone tell me how im supposed to change those class files to java?
     
  2. Offline

    travja

    You can't convert very easily from .class to .java
     
  3. Offline

    Courier

    What you need help with is decompiling. I use http://java.decompiler.free.fr/ to decompile .class files.

    The Eclipse plugin is sometimes buggy, but the core works great.



    That is for if you want to view the source (.java) from a compiled Java class (.class), which is what I am assuming you want to do.

    If you are talking about compiling your .java source files into .class, you can use Eclipse, or command-line "javac", or ant.

    Eclipse is probably be the easiest to get started with, but it is kind of a pain to configure if you ever need to do complex builds. I use ant. http://ant.apache.org/ Ant makes it easy to automatically deploy and test your builds, and even has capabilities (with an external library) to automatically ftp your builds to a server. However, there is a learning curve with ant.
     
  4. Aw i typed it wrong lol...
    Java to class :D
     
  5. Offline

    ThijsD

    Well if you are using Eclipse you would just right click your project and press export. Then pick JAR file (it's under Java) --> Next --> Pick a filename --> Finish :)
     
Thread Status:
Not open for further replies.

Share This Page