Triple_T Posted May 4, 2012 Share Posted May 4, 2012 Hi everyone, today I formatted one of my machines and wanted to get tekkit back on it, upon dowloading the JAR file from the website I noticed the jar is now a zip file and to be honest I really have no idea what to do with it, it just has a few random files I've never seen before. I tried using the EXE launcher but that doesn't work at all, just gives me a terminate application error. I also tried looking around but to no avail if anyone could give me a hand that would be great! Thanks! Link to comment Share on other sites More sharing options...
Air_Gamer Posted May 4, 2012 Share Posted May 4, 2012 does it have a .zip at the end rather then a .jar. or is it just opening in an archive program. if it's the latter then Jarfix may help. Link to comment Share on other sites More sharing options...
Triple_T Posted May 4, 2012 Author Share Posted May 4, 2012 It's a .zip file when you download from the mainpage even though it says .jar on the link, there's nothing to execute the file. Not sure what to do from here Link to comment Share on other sites More sharing options...
Air_Gamer Posted May 4, 2012 Share Posted May 4, 2012 odd. it gives me a jar firefox. try re-downloading it to see if it was a one-off bug. out of interest, what are the files that are in the download? Link to comment Share on other sites More sharing options...
Triple_T Posted May 4, 2012 Author Share Posted May 4, 2012 very strange, again this is a new machine so I'm using IE (I know epic fail) the files in the folder are: com, META-INF, org and SevenZip Thanks in advance Link to comment Share on other sites More sharing options...
Air_Gamer Posted May 4, 2012 Share Posted May 4, 2012 That seems to be the same contents as the jar launcher. if re-downloading it didn't work then try renaming the .zip to .jar and running it. Edit: just tested, IE does think it's a zip file for what ever reason. maybe a site admin should look into it. (IE issue according to below post). Link to comment Share on other sites More sharing options...
The Merchant of Menace Posted May 4, 2012 Share Posted May 4, 2012 Internet Exploder always downloads .jar files as .zip files. It's a fairly well known issue. Link to comment Share on other sites More sharing options...
Chezzik Posted May 4, 2012 Share Posted May 4, 2012 Edit: just tested, IE does think it's a zip file for what ever reason. IE ignores what the server says (content-type) anyway. IE snoops at the content itself, and then ignores the content-type sent by the server any time it pleases. And, it doesn't give you warnings when it does this either. It's done this since at least IE 6. A .jar file is really just a .zip file with a different extension. The only difference is that .jar files usually only contain .class files and resources, whereas a zip can be anything, but this is really just a convention. They can be used completely interchangeably. I can't test IE right now, since I'm on a linux machine, but you should try downloading a .txt document from a server that contains html tags. I wouldn't be surprised if IE changed the extension on it to .html, without giving warning. Link to comment Share on other sites More sharing options...
HalibutBarn Posted May 4, 2012 Share Posted May 4, 2012 They could try setting the MIME type for jar files to "application/java-archive" on the web server. It's not an officially recognized MIME type, but it seems to work for other sites that host jar files. Link to comment Share on other sites More sharing options...
Jay? Posted May 4, 2012 Share Posted May 4, 2012 Basically, the solution here, is to stop using a primitive, unenlightened browser. Go Chrome or firefox, they're both functional and nice. (you stay the hell out of here, flamewar, we don't like you.) Link to comment Share on other sites More sharing options...
Air_Gamer Posted May 4, 2012 Share Posted May 4, 2012 Reminds me of a bug thread reporting that an image would open in IE as experted (in a new tab), but would open the download window in FF. This being caused by the server giving the image a "application/binary" MIME instead of an image MIME. Link to comment Share on other sites More sharing options...
Triple_T Posted May 6, 2012 Author Share Posted May 6, 2012 I fixed it, Internet Explorer was the problem, for some reason it downloaded a .zip rather than a .jar Thanks for all your help Link to comment Share on other sites More sharing options...
jakj Posted May 6, 2012 Share Posted May 6, 2012 .jar files are .zip files. (Rename one to .zip and see what happens.) The difference between .jar and .zip is that it tells Java there are other things in there, like a manifest with a start class, the META-INF, and other sorts of things. It's sort of like how, if you have a brown box that says "Audio Emporium" on the side, it's still a brown box, but you expect it to have a stereo in it. Link to comment Share on other sites More sharing options...
Triple_T Posted May 6, 2012 Author Share Posted May 6, 2012 Yeah I tried renaming it and it worked Thanks again Link to comment Share on other sites More sharing options...
lewmo Posted August 11, 2012 Share Posted August 11, 2012 what are you suppose to do with the jar thenn? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now