Java Issue

Status
This thread has been locked.

LentMinecraft

Feedback score
0
Posts
371
Reactions
130
Resources
0
Ok, I need some help with java compiling.

I have decompiled an old plugin, with WinRAR, and extracted it to a normal folder. I edited to class I needed to edit and I'm not too sure on how to recompile it backinto a functioning jar file.

If anyone can tell me a program or a method on how to do this, I would be thankfull.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Ammar T

Programming Teacher
Supreme
Feedback score
7
Posts
820
Reactions
394
Resources
0
Alright, so you need a suitable IDE such as Eclipse to do this or you can do it using the `javac` command on the command prompt (Requires an installation of the Java JDK) :). Hope this helps :)
 

LentMinecraft

Feedback score
0
Posts
371
Reactions
130
Resources
0
Alright, so you need a suitable IDE such as Eclipse to do this or you can do it using the `javac` command on the command prompt (Requires an installation of the Java JDK) :). Hope this helps :)

Is the eclipse option as easy as copy and pasting each class and package into eclipse?
 

rchy

Premium
Feedback score
1
Posts
716
Reactions
258
Resources
0
I'm not too sure but the way most people do it is using an IDE like Eclipse.
 

Ammar T

Programming Teacher
Supreme
Feedback score
7
Posts
820
Reactions
394
Resources
0

Exloki

Operations Manager @Voldex
Premium
Feedback score
1
Posts
21
Reactions
34
Resources
0
The way your original post is worded it makes it seem like you're trying to edit the java bytecode in the .class files - you need to decompile class files (or the entire jar itself) using a decompiler such as Luyten to convert them into human-readable .java files.

You can then compile the .java files into classes or a compiled jar by using an IDE (Integrated Development Environment - basically a program used to edit code) or the javac (java compiler) command line; in both instances you'll need the JDK (Java Development Kit).
 
Status
This thread has been locked.
Top