I have a small java project that handle connections.
In order to run it from the terminal I have to cd into the folder that contains the source and run the following command:
java -cp classes com.packagename.mainclass
Where classes is the folder that contains the classes.
I want ubuntu to run this application on startup, is there a Java command I can use? Or am I just better off creating a shell script?
Thanks!
Note:
uname -a
2.6.28-16-generic
cat /etc/issue
Ubuntu 9.04 \n \l
I have disabled iwl3945:
cat /etc/modprobe.d/blacklist.conf | tail -3
blacklist iwl3945
blacklist mac8021
Question:
How can I use iwp3945 instead?
Hi all,
I get a cpgz file when trying to extract the contents of a file created on an ubuntu system.
Tried with 7zip, rar, zip, tar, nothing works... I really need to get this to work, so if somebody had a lead or a solution, that would be great !
i just installed a ubuntu 12.04 server on a 2008 R2 Hyper-V server and all is fine (networking/storage ...). There is just one thing, when i halt my linux (using "sudo halt"), i can see on the console that the system is halted but the vm status on hyper-v is still "started". Then i need to stop it on the hyper-v management tool.
Anybody has an idea on how to properly stop this VM on hyper-V automatically ?
Thanks,
Alex
I am having problems with the refresh rate if the screen .
In the the refresh mode of the monitor in the monitor options have only one option 60Hz.
I have LG 24 + ATI Radon 3870, and have already installed the ATI driver via Ubuntu download center.
Any idea how I solve that one?
Thanks.
hey all, I'm trying to create a local user on a new ubuntu box my admin set up. I'm unable to change the password, I keep getting the error below. The user gets added to the shadow file but I can't get it to set a password. Any ideas? I've googled for over an hour :(
thanks!
admin@theserver:~$ sudo useradd jamz
[sudo] password for admin:
admin@theserver:~$ sudo passwd jamz
passwd: Authentication token manipulation error
passwd: password unchanged
admin@theserver:~$
I am using Ubuntu Server to host an Intranet website with Apache and was wondering if it was possible to change the web site's domain name so I don't have to enter the IP address to access the site.
Thanks in advance!
I am using a BlueProton USB wireless network adapter and an Ubuntu 9.10 machine and the machine says that it is connected to the internet but it won't see other machines/devices on the local network and only a few websites work.
I created a partition on USB harddisk in windows and it reports to be an NTFS partition.
Yet in ubuntu 9.10 fdisk says it a FAT16 partition. If I mount with -t ntfs I see nothing, but if I mount without it I see all the files.
Can anyone tell me whats going on here?
Windows computer disk management definately says its NTFS, and a quick look at the raw data suggests it is NTFS, as I know the FAT16 very well.
I noticed that the username I used to install Ubuntu got added to a bunch of groups in the /etc/group file. I'm getting rid of unneeded accounts. Would anything break if I removed that first account?
I installed Ubuntu on my external hard drive but it won't boot on my laptop. It works fine on my desktop but not my laptop. It says it can't find root... what do i do?
Is it possible to dual boot between Ubuntu and W7.vhd? If anyone knows please tell me how.
if you can answer to [email protected] would be perfect. Thanks
Hello,
I've just installed ubuntu 10.10 on my laptop its all great but the screen resolution is a bit crap i have it set 1200:800 and when i do xrandr it indicates that the i can have a bigger screen resolution but i dont seem to to be able to increase it more 1200:800.
another interesting thing is that xorg.conf does not exist on the /etc/X11/
is there a way to increase the screen resolution for Sony laptops?
the graphics card is Intel Graphics
Please help!
I have window server which shares the folder called wwwroot.
In my ubuntu that window computer is not visible.
When i press ctrl + L
and type smb://window-comp-name/wwwroot
Then it works
I tried mounting that folder using
sudo mount smb://SERVER/wwwroot /media/dir1
but it didn't work
I have installed ubuntu on my server.
I want the cronjobs to send me emails for output.
How can i send emails from terminal . which thing i have to install and how will i put smtp or pop setting in that program
i have ubuntu 10.10 x86_64 with nvidia 9800 gt and nvidia driver version 270.41.06
my video card has two DVI sockets, but i only use single monitor configuration. Now, i think the main DVI socket might be busted, so i want to try to enable the other as the main one, however, i don't know how to achieve that. I tried just plugging the monitor in that socket but it won't just auto-detect (it would have been way too easy to just work)
I saw the intel-microcode in the ubuntu repositories and was wondering if it was worth installing on my Yorkfield-6M based system. If so, what are the benefits from this package?
I use Ubuntu 11.04 and Gnome 2.32.1.
I want to create a new launcher for Sql Developer on the desktop with the following value :
Name : SqlDeveloper
Command : /bin/sh /opt/sqldeveloper/sqldeveloper.sh
Icon : A icon in the directory of sql developer
When I click or double-click on the launcher nothing happens.
$ ls -l /opt/sqldeveloper/sqldeveloper.sh
-rwxr-xr-x /opt/sqldeveloper/sqldeveloper.sh
What should I do ?
I'm using Firefox 3.5.9 in Ubuntu 9.10. The "Clear recent history" menu item on the Tools menu is greyed out. I tried launching Firefox using sudo from the command line, but no luck. What gives?
I was using my LCD monitor with my laptop properly with Windows 7. But I am facing a problem in Ubuntu.
It connects in a proper way but on pressing backspace it automatically moves back to my laptop screen. Sometimes pressing any key moves back to my laptop screen.
How can I fix this behavior?
My laptop harddrive has developed some serious read errors in the windows partition. Windows 7 still boots but every single action takes an aeon, and it is definitely due to a harddisk error not due to any spyware. I'm using the Ubuntu partition now. I've ordered a new harddrive but my laptop didn't come with a Windows 7 install disk (I think I was meant to make one with the windows 7 tools).
So how can I install Windows 7 on my new harddrive?
I'm currently running Windows XP, but have ordered Windows 7. I want to keep Windows XP on a separate partition, and install Ubuntu as well.
In which order should I install the OSs, and is there anything differing from an ordinary single-system install I should keep in mind? For example, does the order of partition make any difference? If I want to have the system drive as "C:" drive in both Win XP and Win 7, what should I do?