Blogs Other

Mod Help!?

  • 551 views 0 today
  • 1
  • 0
  • 8
Gyfso
Lvl 28Expert Modder
7
I am about to make a mod to post on the site but I need compiling help

I made my own .java files and now I need to compile them into .class
I tried installing JDK but nothing would show up even after hours
 And of course I can't use mcp because you need JDK. lol

Is there anything I can do to compile these .java files into .class???

I know that .java files are decompiled .class files

More like this

  Have something to say?

DiabolusNeil
04/06/2014 12:14 pm
Level 38 : Artisan Mage
Did you add JDK as a system environment variable?
1
Gyfso
04/06/2014 10:23 pm
Level 28 : Expert Modder
I don't know I don't even have it installed and I don't know anything about JDK since I can't install it (I am an admin)
1
DiabolusNeil
04/07/2014 9:32 am
Level 38 : Artisan Mage
Just Google "How to install JDK"
1
Gyfso
04/07/2014 7:20 pm
Level 28 : Expert Modder
Lets just say: Does not work. Period
1
DiabolusNeil
04/07/2014 8:44 pm
Level 38 : Artisan Mage
1. Download the recommended version of JDK here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
2
. Run the installer. Please take note to where it installs it. You'll need that information later.
3. Go to Start, and right-click on Computer, then Properties.
4. On the left, click on Advanced System Settings.
5. Click on Environment Variables.
6. At the upper portion of the window, click on New...
7. In Variable name, type Path. Capitalization and spelling matters.
8. Get the file path to where JDK was installed. If you didn't change the default, the path should be under C:\Program Files\Java. In that directory, you should see a folder called something like jdk_1.7.0_51. Go in that, then into the bin folder. Click on the top of the window, where it shows the parent directories. Press CTRL + C.
9. Go back to the Environment Variables window. Paste in the path under Variable Value.
10. Click OK to accept.
11. Open up Command Prompt, then execute the command, "javac" (without quotation marks). If you don't get a message that says "'javac' is not recognized as an internal or external command", then you're done!
12. If You do get that message, try closing all instances of Command Prompt, then repeat Step 11.
13. If you still get the message, then try the entire installation process again.
1
Gyfso
04/09/2014 7:38 pm
Level 28 : Expert Modder
good thing I backed up my shit because after I tried doing this 3 times, I had to restore my backup so don't post comments that will corrupt my programs that need java to run and basically they wouldn't work because the dev kit ruined my other version of java.
(so... it didn't work)
AND WHAT THIS BLOG IS ABOUT IS A WAY TO COMPILE FILES WITHOUT JDK OR MCP!
1

Welcome