yeah... Thanks anyway.
yeah... Thanks anyway.
Is there a command to open a zip which is stored on the internet? Note that I don't want to dl the entire zip, just a specific file in the zip. Say the file is stored at www.random.com/foo.zip. How can I get thing.exe out without saving the entire foo.zip to hard drive? Thanks in advance.
I am running Ubuntu 11.04. I have about 100 gigs left on my hard drive. Can i simply shrink my existing partition and use that as a blank space to create a new partition in? Also, once i have the new partition created and the data copied, can i then have ubuntu look for and save personal data in the new partition? Essentially i want the location of /home to be on the new partition. Thanks for the advice.
Is there a way to create a data partition and transfer your current user data to it if you didn't select the option at installation? Thanks
Is there a file which the alsa sound preferences are stored in, and if so, where is it?
Sorry, I should have done that in the first place. I am running Ubuntu 11.04 with the default file viewer.
I didnt mean for the jar file specificly. Just whenever I say open file with it would be nice to know which command is actually opening that file. Is there a way to do that, besides manually finding out what the commands for that program are?
Is there a way to find out what command is running a program when you click on it and run it graphically? My problem is with an executable jar file. When I right click on it in a graphical environment and choose to run it with the jre it runs fine. However, running java minecraft.jar from the command line results in this error:
Exception in thread "main" java.lang.NoClassDefFoundError: minecraft/jar
Caused by: java.lang.ClassNotFoundException: minecraft.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: minecraft.jar. Program will exit.
EDIT: The problem was simply that I was running the jar with incorrect syntax. The syntax for executable jars is java -jar foo.jar. It would still be nice to know the original question though.
No, all of those except my optical drive show up at least 70% empty.
When I boot up ubuntu, I see the following error.
hd0 out of disk.
Press any key to continue...
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board