So, I'm actually coding primarily in python, but I need to do one thing in java, and having no java experience, I'm really not understanding how this works.
My program creates java files, then compiles them with command prompt, and puts them into the minecraft.jar, but I don't really understand what I need to write in command prompt to set the classpath to the minecraft.jar. Especially because I need this to work on everyone's computer, and I won't know where my program (and thus the java files) are.
Could anyone give me a hand with this?
Edit: Okay, so I tried doing this:
javac -classpath %appdata%\.minecraft\bin\minecraft.jar BLOCK1.java
And it gives me this error:
LLBLOCK1.java:3: error: cannot find symbol
public class LLBLOCK1 extends Block
^
symbol: class Block
LLBLOCK1.java:5: error: cannot find symbol
private World worldObj;
^
symbol: class World
location: class LLBLOCK1
LLBLOCK1.java:12: error: cannot find symbol
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
^
symbol: class World
location: class LLBLOCK1
LLBLOCK1.java:12: error: cannot find symbol
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
^
symbol: class EntityPlayer
location: class LLBLOCK1
LLBLOCK1.java:9: error: cannot find symbol
super(i, j, Material.wood);
^
symbol: variable Material
location: class LLBLOCK1
LLBLOCK1.java:14: error: package Block does not exist
world.setBlockWithNotify(i + 0, j + 0, k + 0, Block.stone.blockID);
^
6 errors
Am I writing the classpath wrong?