Soooo I try to open a .jar file (Java program). I get this:
So I can't just run the file by double-clicking it. I try to "mark the file as executable" but this is on my NTFS-formated hard drive so I can't mark it as executable. So in order to make it run I must use the command line:Originally Posted by xubuntu
Problem solved, i got it open. Buttttttttt.... I talked to a few friends at school who just got Ubuntu and were trying to open .jar's but had never used the commandline before.Code:java -jar drjava-beta-20110822-r5448.jar
So basically the problem here is that the system doesn't want to open jar's that aren't marked executable. This is stupid and prevents newcomers to Ubuntu from just opening .jar files because they don't have the right Linux know-how. The system should just put up a message that says "You are about to open a Java program. Only open this program if you trust the source it was downloaded from. Proceed? "