If the only java binary you have is in /usr/share/java, then this is why
you’re not able to run VASSAL from the shell script. The shell script
expects the java binary to be on your path, but the /usr/share/java
directory is not on your path.
I don’t know what the canonical way of solving this is on Ubuntu, however.
You should try what Michael suggested, as it might be the the symbolic
links for java were not setup properly when you installed it.
Wonderfully portable. But the 4GB flash drive is too small. It came out of the box with about 300MB free space, and promptly downloaded a bunch of updates that filled the drive and rendered it useless.
It has a built-in SD slot, so I got an 8GB card. But I’m no Linux expert, and working with the file system is no fun. Replacing the OEM OS with Ubuntu helped because it’s a bit smaller (ubuntu-eee.com). But like Windows, the system just grows and grows. . . . lost 100MB to java.
Next problem to solve (not urgent) is how to have two external drives at once. With the SD card in there, when I stick in a USB drive I get a message saying only a “superuser” can do that. Take out the SD card and boot with the USB drive in, it’s fine. Then stick in the SD card and get the message. Type of drive doesn’t matter, but apparently only one at a time.
You’re having a permissions problem. The system won’t let normal users mount
removable drives; the reason it works when you boot with the drive in is
that when it comes time to mount the drive, the user running the mount
command is the root user (this is because all of the processes running at
boot time are run as the root user).
Relevant search terms would be ‘usb’ and ‘automount’. This guy has a
suggestion about how to fix the the problem:
Someone else reported problems with the Ubuntu build of OpenJDK a few
days ago; if it were me, I’d try both. On Fedora I can say confidently
that OpenJDK is better.
I had some issues with the openjdk-6 package unique to ubuntu (actually xubuntu, but it was intrepid ibex and I do not think once you are running gnome apps it matters wether the the underlying manager is gnome or xfce) and unique to the utf8 charset. I believe it is all documented in gory detail in the thread “graphics stretch in inux” in this forum.
Note that was only that one unique combination… using any of sunjdk-6, fedora, and/or iso charset fixed the problem, and with the exception of fedora the steps to make those changes are detailed in the thread mentioned.
Personally… if you are using linux and especially ubuntu you are probably into the open source idea so using openjdk is nice and can be done, but in that case I suggest making the change to force openjdk to use the iso charset, until a fix is made in the ubuntu openjdk repo.
[edit - might mention I have changed my laptop over to fedora10 x86_64]
When trying to start the vassal.sh, nothing happens.
I have checked on sun.com if I have java installed on my Acer Aspire One using Linpus Linux (which is based on fedora) and it said I have. Obviously, I am quite a noob concerning linux. My package manager says, I have “jre - 1.6.0_07-fcs.i586” installed. A search for “openjdk” or “sunjdk” turned up no results.
Should I install java manually from somewhere or is there anything I don’t see at the moment?