Multi Commander > Support and Feedback
Java executables treated as archives
GrantSP:
If you have the setting:
Explorer Panel Settings... --> Mouse Configurations --> Left/Right/Middle Mouse button -- Double click
set to:
Open folder/Execute File
Double clicking on a Java archive (*.jar) opens it as any other type of archive or folder, despite the fact that Windows is et to treat these as files NOT folders.
The default double-click action from an explorer window runs this as an executable.
Changing this setting to:
Execute File
in the settings panel correctly treats it as an executable, but I lose all folder navigation functionality.
Additionally changing this setting to:
Open Folder
doesn't actually enable open folders for me, no matter if they are *.jar, or any archive format, files or simply folders in the tree.
This is on Win7 64bit with MC v4.6 (build 1777)
Mathias (Author):
If you do not want Jar files (that actually just are zip files) be handled as zip files then you need to tell the ZIP FileSystem Extension not to register with the .JAR extension.
Configuration > Manage Plugins and Extensions
Under the "Extension Type" dropdown select "FileSystem Plugins"
Then Select FS-Zip and click options.
and remove "jar" from the list if file extension. Save and restart MC
GrantSP:
Thank you. As always your explanations are clear and concise.
Question though. Why are *.jar files added to that extension as archives by default? Surely in the majority of setups *.jar files should always be treated as executables?
Mathias (Author):
What else is there to do with jar files.. Let windows execute them ? But than JAVA will start. And who want's that ? It is JAVA after all.
seriously..It is by request.. got lots of request that jar files should be opened as zip..
GrantSP:
The default action on *.jar files should be to let JAVA run them because, as you say, they are JAVA.
The vast majority of people shouldn't be looking into *.jar files since they are never used as a means to package files form delivery but as an executable. I'm surprised you even phrased your comment the way you did, with mild sarcasm.
By all means allow MC the means to open them as an archive, BUT NOT as default.
The open-source document formats like *.ods & *.odt from programs like LibreOffice or OpenOffice are also compressed archives, using your logic, the default action for these will also be to open them in MC as an archived folder and examine the contents! I'm sure you agree that is the wrong thing to do.
I was not aware that you have received lots of requests to implement this function but, I'm sorry, regardless of the number of requests this is not the best way to treat those files.
The default action on ANY file, ie. the action performed by a double left-click, should be the same as the action Windows would perform on it if invoked from the commandline.
Call a *.txt file and the default action is to run the assigned text editor, call a *.jpg and your graphics editor/viewer will run, a *.zip and your archive program handles the file. Calling a *.jar would call the associated program. If you don't have JAVA then it probably would be an archive manager, but 99% of the time it will be JAVA.
Just how hard is it for people that want to do any non-default action on ANY filetype to setup a context menu action.
I hope you read this in the context in which it was written, not as an angry response, but as a bemused MC user that would like you to reconsider this position on the default actions for specific filetypes.
Navigation
[0] Message Index
[#] Next page
Go to full version