I did add the Main-class to the manifest file; but still i couldn't open the .jar.fail loaded message showed up once again >.<" Is there any solution to this?
double click the Manifest.MF in winRAR and the option should come up to choose a program to run it with. select notepad and you should be able to open it
Even though this tells you exactly what you need to know, it's a bit slow. I managed debug a tiny script to read filenames in a directory, then plop them into a .m3u file, set up the create jar tool, javadocs tool, and modify the mf before the video ended. This could easily be condensed to a 40 second clip
Make sure you put a colon after the Main-Class. I think it's case sensitive as well.
pwnedu46 5 months ago
I did add the Main-class to the manifest file; but still i couldn't open the .jar.fail loaded message showed up once again >.<" Is there any solution to this?
lazyyrabbit 6 months ago
sei un coione
NerchiaFresca 7 months ago
que ptada
ivank690 8 months ago
Thanks you :)
jakpbubu 9 months ago
it says cannot find main class
even after i entered it
oliball123 1 year ago
thankxxxxxxxxx
otman1430 1 year ago
i cant open/edit the manifest.mf , thus anyone know? comment please
sabbaths 1 year ago
@sabbaths does*
sabbaths 1 year ago
@sabbaths
double click the Manifest.MF in winRAR and the option should come up to choose a program to run it with. select notepad and you should be able to open it
iAMTHEKILLERKING 1 year ago 2
I have two questions, why didn't it display the "hello world", is there a way to display it?
and also, can i rename the .jar file to anything i want and it still work?
knucklessg1 1 year ago
@knucklessg1 normally it would i didnt try in theory it will work :D
StillCOolXP 1 year ago
Very helpful video. Thanks a lot; it worked for me too!
sidiabale 2 years ago
how do i find my jdk home directory?
tiedyery 2 years ago
O M F G! ty dude! i was searching and trying 2 make a jar file in cmd(can be done realy hard thoe) this is so much easyer
dylan122223 2 years ago
Yes java is very prortable.
rainbowcrak 2 years ago
i think i can install .jar files on my phone.. so can i make phone-programs with that?
xXMari7Xx 2 years ago
World of Warcraft claims yet another victim...
Prongs134 2 years ago 5
??!?! PM me if you know how to open the manifest as a text doc.
Prongs134 2 years ago
Even though this tells you exactly what you need to know, it's a bit slow. I managed debug a tiny script to read filenames in a directory, then plop them into a .m3u file, set up the create jar tool, javadocs tool, and modify the mf before the video ended. This could easily be condensed to a 40 second clip
dudebot09 2 years ago
Brilliant, this helped a lot, just wrapped up a java assigment with this mate, cheers!
Blessedluv 2 years ago
Hey , awesome video =)
"Willing is not enough, we must do" - Excellent example
mariohgh 3 years ago