You are not logged in.

#1 2012-01-22 07:12:58

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

[solved] Using jAlbum with jdk7-openjdk

Hi all,

I have just installed jAlbum, and woe, it seems it won't work with jdk7-openjdk:

https://bugs.launchpad.net/ubuntu/+sour … bug/206007

Anyway, does anyone know how to get round this issue, or to install sun java? I'd really prefer to not use sun java...if you know any alteratives, that'd be great. I'm just looking for a better way to organize and present my photos, with a little more visual appeal.

Oh, I'm a newbie too.

Ianhoolihan

Last edited by ianhoolihan (2012-02-03 02:37:18)

Offline

#2 2012-01-22 21:54:15

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: [solved] Using jAlbum with jdk7-openjdk

What desktop environment do you use? I personally use gnome with shotwell as my photo organizer. There a lot of photo organizers. A could place to start would be alternativeto.net. Openjdk 6 might work with jalbum. I am not sure how you are installing jalbum. The version from aur does not seem to be a source version. Compiling from source could solve the problem. Any possibly useful output when running jalbum from terminal.

Offline

#3 2012-01-23 00:30:23

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

Re: [solved] Using jAlbum with jdk7-openjdk

I'm using LXDE. I had a look at alternativeto.net, but there wasn't wuch that tickled my fancy.

When I run from terminal, on start I get

$ jalbum 
Jan 23, 2012 1:21:20 PM java.util.prefs.FileSystemPreferences$2 run
WARNING: Could not create system preferences directory. System preferences are unusable.
Jan 23, 2012 1:21:48 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs. Unix error code -1762661344.
Jan 23, 2012 1:21:48 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

It starts fine, but I simply cannot add photos. I get no terminal output if I try to.

This is in "About"

user.name=archimedes
user.language=en
user.home=/home/archimedes
user.dir=/usr/share/jalbum
user.country=NZ
useDesktop=true
sun.os.patch.level=unknown
sun.management.compiler=HotSpot Client Compiler
sun.jnu.encoding=UTF-8
sun.java.launcher=SUN_STANDARD
sun.java.command=/usr/share/jalbum/JAlbum.jar
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.isalist=
sun.cpu.endian=little
sun.boot.library.path=/usr/lib/jvm/java-7-openjdk/jre/lib/i386
sun.boot.class.path=/usr/lib/jvm/java-7-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk/jre/classes
sun.awt.enableExtraMouseButtons=true
sun.arch.data.model=32
path.separator=:
os.version=3.2.1-1-ARCH
os.name=Linux
os.arch=i386
line.separator=

java.vm.version=21.0-b17
java.vm.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.name=Java Virtual Machine Specification
java.vm.name=OpenJDK Client VM
java.vm.info=mixed mode
java.version=1.7.0_147-icedtea
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.vendor.url=http://java.oracle.com/
java.vendor=Oracle Corporation
java.specification.version=1.7
java.specification.vendor=Oracle Corporation
java.specification.name=Java Platform API Specification
java.runtime.version=1.7.0_147-icedtea-b147
java.runtime.name=OpenJDK Runtime Environment
java.library.path=/usr/share/jalbum/lib/linux/x86:/usr/java/packages/lib/i386:/lib:/usr/lib
java.io.tmpdir=/tmp
java.home=/usr/lib/jvm/java-7-openjdk/jre
java.ext.dirs=/usr/lib/jvm/java-7-openjdk/jre/lib/ext:/usr/java/packages/lib/ext
java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk/jre/lib/endorsed
java.class.version=51.0
java.class.path=/usr/share/jalbum/JAlbum.jar
java.awt.printerjob=sun.print.PSPrinterJob
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
file.separator=/
file.encoding.pkg=sun.io
file.encoding=ISO-8859-1
desktop.path=/home/archimedes/Desktop
awt.toolkit=sun.awt.X11.XToolkit

It still seems to have sun java there...

Oh, and I wouldn't know how to compile from source --- I just used the AUR PKGBUILD. Should I ask them there how they get it to work?

Cheers

Offline

#4 2012-02-01 09:36:10

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

Re: [solved] Using jAlbum with jdk7-openjdk

I'm  not sure if I'm allowed to bump my own post, but does anyone have a solution?

Offline

#5 2012-02-03 02:35:33

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

Re: [solved] Using jAlbum with jdk7-openjdk

Offline

Board footer

Powered by FluxBB