New here, hope I'm doing things right.
I've done a lot of searches and gotten some great info, but alas, I'm stuck and hours of searching has yielded no solution to my problem
Basically there is this jar file that I'm trying to add some .class to, I've extracted it fine, by using two different methods. First renaming it from a .jar to a .zip and extracting it which works fine. And after some searches, I also used Terminal's
which also extracted the jar file fine. There were 4 folders extracted.
I added my .class files, and used:
which makes a nice File.jar file in the directory I'm working in. Double click to launch, and it says the file cannot be launched?
Fine, to see if the error is coming from the .class files I've added I decompiled (using both methods to see if it was an error in extracting) and did not change/add anything to the original .jar extraction. Tried to recompile without any changes, a .jar file was created, tried to run, but again I get an error saying it can't be launched.
Extracted my created .jar file, and it creates the exact same 4 folders as extracting the original jar file. Except my jar file does not run, but hte original launches fine.
Any help for a noobie? Thanks.
I've done a lot of searches and gotten some great info, but alas, I'm stuck and hours of searching has yielded no solution to my problem
Basically there is this jar file that I'm trying to add some .class to, I've extracted it fine, by using two different methods. First renaming it from a .jar to a .zip and extracting it which works fine. And after some searches, I also used Terminal's
Code:
jar -xvf <jarfile>
I added my .class files, and used:
Code:
jar cf File.jar *
Fine, to see if the error is coming from the .class files I've added I decompiled (using both methods to see if it was an error in extracting) and did not change/add anything to the original .jar extraction. Tried to recompile without any changes, a .jar file was created, tried to run, but again I get an error saying it can't be launched.
Extracted my created .jar file, and it creates the exact same 4 folders as extracting the original jar file. Except my jar file does not run, but hte original launches fine.
Any help for a noobie? Thanks.