If you get any com.thoughtworks.xstream.converters.reflection.ObjectAccessException from your java programs, it may be due to you have upgraded your java version to sun-jdk7.
To solve this in Linux Mint 13, use:
jdkhome="/usr/lib/jvm/java-6-openjdk"
For example ThinkingRock software requires you to configure tr-2.2.1/etc/tr.conf and add this line to the end of it.
Monday, August 27, 2012
Upload a valid image. The file you uploaded was either not an image or a corrupted image.
With virtualenv, PIL doesn't work. Whenever you try to upload an image it says:
To over come this, just do these in your venv:
"Upload a valid image. The file you uploaded was either not an image or a corrupted image.
"To over come this, just do these in your venv:
pip uninstall pil
pip install pillow
I saw this solution from here but it's got a typo. You have to remove pil, not virtualenv.Sunday, August 26, 2012
Installing sun-jdk 1.7 on Linux Mint
Finding how to install it was very confusing as there was no sun-jdk in the package manager. Here are the manual instructions:
Hopefully.
- Download jdk-7u6-linux-x64.tar.gz from the Oracle-Sun java web site.
- Extract it
- It's ~/Downloads/jdk.1.7.0_06 now.
- sudo mv ~/Downloads/jdk.1.7.0_06 /usr/lib/jdk.1.7.0_06
- sudo ln -s -v /usr/lib/jdk.1.7.0_06/bin/java /usr/bin/java
- sudo ln -s -v /usr/lib/jdk.1.7.0_06/bin/javac /usr/bin/javac
Hopefully.
Monday, August 13, 2012
GF108 High Definition Audio Controller doesn't work in Linux Mint
If you're using Linux Mint 13 with Cinnamon and don't hear any sound, it means the speker of your graphics card and the onboard sound card conflicts. To overcome this, open Settings->Sound dialog (or via sound icon on the taskbar).
Move to the Hardware tab. Choose (click on) GF108 item and look at the Profile dropdown menu at the bottom. Choose "Off " in that menu. Now you should be hearing some sound!
Move to the Hardware tab. Choose (click on) GF108 item and look at the Profile dropdown menu at the bottom. Choose "Off " in that menu. Now you should be hearing some sound!
Subscribe to:
Posts (Atom)