Previous 4 version and new Java

Having trouble installing Oxygen? Got a bug to report? Post it all here.
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Previous 4 version and new Java

Post by gv »

I'm the happy owner of a v4 license, under Linux, which perfectly suits my needs. I'm trying to re-install my "old" version but I get a lot of apparently Java related problems... My question is: Do I need to downgrade with a separate previous Java version to re-install the ver.4 of Oxygen?

The situation:

java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Thanks for your help?

gv
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Yes, oXygen versions older than 8.1 do not work with a Java 1.6.0 virtual machine due to changes in the Swing dialog implementation introduced in JVM 1.6 supported only in oXygen 8.1 and later. Downgrading to one of the Java 1.5.0 updates, for example 1.5.0_12 or one of the Java 1.4.2 updates, for example 1.4.2_15 should work.


Regards,
Sorin
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

Thanks Sorin for your time.

I downgraded to

java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)

but I still have an error message:

Exception in thread "main" java.lang.NoClassDefFoundError: oxygen/jar

with the "All" install package

and a:

rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

with the Linux install package...

a locate libc.so.6 give me:
/lib/libc.so.6
/lib/i686/libc.so.6

Very annoying, I never had such problems with Oxygen and I need it to work. ;-)

gv
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

Complement:

After commenting the
export LD_ASSUME_KERNEL line
in Linux install file, I'm back to the Java problems:

Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX

gv
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

gv wrote:Exception in thread "main" java.lang.NoClassDefFoundError: oxygen/jar

with the "All" install package
You need a build of oXygen 4 for Java 1.5. You can find it on the Software Archive page.


Regards,
Sorin
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

Thank you again.

That's exactly what I've tried with the Linux install package, downloaded from the archive page...

Gérald
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

I've fully re-installed java (1.05), export the correct PATH.
FWIW I join the strace of the oxygen script. (don't find an attach option... sorry)

Thank you and best.

Gérald

--------------
[gv@localhost oxygen_4]$ strace oxygen.sh
execve("/home/gv/Téléchargement/oxygen_4/oxygen.sh", ["oxygen.sh"], [/* 58 vars */]) = 0
brk(0) = 0x80fe000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f12000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=74692, ...}) = 0
mmap2(NULL, 74692, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eff000
close(3) = 0
open("/lib/libtermcap.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\f\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11624, ...}) = 0
mmap2(NULL, 14568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7efb000
mmap2(0xb7efe000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7efe000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9688, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef7000
mmap2(0xb7ef9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ef9000
close(3) = 0
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320^\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1232576, ...}) = 0
mmap2(NULL, 1238404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dc8000
mmap2(0xb7ef1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x129) = 0xb7ef1000
mmap2(0xb7ef4000, 9604, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ef4000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dc7000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dc78d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7ef1000, 4096, PROT_READ) = 0
mprotect(0xb7f2b000, 4096, PROT_READ) = 0
munmap(0xb7eff000, 74692) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0x80fe000
brk(0x80ff000) = 0x80ff000
open("/usr/share/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
brk(0x8100000) = 0x8100000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f11000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
brk(0x8101000) = 0x8101000
brk(0x8102000) = 0x8102000
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f11000, 4096) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=353, ...}) = 0
mmap2(NULL, 353, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f11000
close(3) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26026, ...}) = 0
mmap2(NULL, 26026, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f0a000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap2(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f09000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap2(NULL, 49, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f08000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
mmap2(NULL, 127, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f07000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap2(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f06000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap2(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f05000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=58, ...}) = 0
mmap2(NULL, 58, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f04000
close(3) = 0
brk(0x8103000) = 0x8103000
open("/usr/share/locale/fr_CH.UTF-8/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
mmap2(NULL, 294, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f03000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=932330, ...}) = 0
mmap2(NULL, 932330, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ce3000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2363, ...}) = 0
mmap2(NULL, 2363, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f02000
close(3) = 0
brk(0x8104000) = 0x8104000
open("/usr/share/locale/fr_CH.UTF-8/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0
mmap2(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f01000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=275800, ...}) = 0
mmap2(NULL, 275800, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c9f000
close(3) = 0
getuid32() = 500
getgid32() = 500
geteuid32() = 500
getegid32() = 500
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
time(NULL) = 1187094847
brk(0x8105000) = 0x8105000
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c9e000
read(3, "MemTotal: 2075052 kB\nMemFre"..., 1024) = 693
close(3) = 0
munmap(0xb7c9e000, 4096) = 0
brk(0x8106000) = 0x8106000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0x8107000) = 0x8107000
brk(0x8108000) = 0x8108000
brk(0x8109000) = 0x8109000
stat64("/home/gv/Téléchargement/oxygen_4", {st_mode=S_IFDIR|0754, st_size=8192, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0754, st_size=8192, ...}) = 0
getpid() = 18841
brk(0x810a000) = 0x810a000
brk(0x810b000) = 0x810b000
getppid() = 18840
getpgrp() = 18840
rt_sigaction(SIGCHLD, {0x807a150, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/home/gv/Téléchargement/oxygen_4/oxygen.sh", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfbbb668) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#!/bin/sh\n# Oxygen Startup scrip"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=618, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
brk(0x810c000) = 0x810c000
brk(0x810d000) = 0x810d000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "#!/bin/sh\n# Oxygen Startup scrip"..., 618) = 618
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x810e000) = 0x810e000
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -484, [134], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dc7918) = 18842
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18842
waitpid(-1, 0xbfbbadc8, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807a150, [], 0}, {0x807a150, [], 0}, 8) = 0
close(4) = 0
read(3, "/home/gv/T\303\251l\303\251chargement/oxygen"..., 128) = 35
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807ada0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807ada0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "CP=$p/lib/oxygen.jar:$p/classes:"..., 618) = 484
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x810f000) = 0x810f000
stat64(".", {st_mode=S_IFDIR|0754, st_size=8192, ...}) = 0
stat64("/usr/local/bin/java", 0xbfbbb41c) = -1 ENOENT (No such file or directory)
stat64("/bin/java", 0xbfbbb41c) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=64248, ...}) = 0
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
read(3, "65536\n", 31) = 6
close(3) = 0
brk(0x818f000) = 0x818f000
getgroups32(65536, [22, 71, 80, 500]) = 4
stat64("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=64248, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dc7918) = 18843
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807ada0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, Exception in thread "main" java.lang.NoClassDefFoundError: ro/sync/exml/Oxygen
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 18843
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfbbb118, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807ada0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "", 618) = 0
exit_group(1) = ?
Process 18841 detached
[gv@localhost oxygen_4]$ strace oxygen.sh>oxygen.txt
execve("/home/gv/Téléchargement/oxygen_4/oxygen.sh", ["oxygen.sh"], [/* 58 vars */]) = 0
brk(0) = 0x80fe000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f06000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=74692, ...}) = 0
mmap2(NULL, 74692, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef3000
close(3) = 0
open("/lib/libtermcap.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\f\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11624, ...}) = 0
mmap2(NULL, 14568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eef000
mmap2(0xb7ef2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7ef2000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9688, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eeb000
mmap2(0xb7eed000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7eed000
close(3) = 0
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320^\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1232576, ...}) = 0
mmap2(NULL, 1238404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dbc000
mmap2(0xb7ee5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x129) = 0xb7ee5000
mmap2(0xb7ee8000, 9604, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ee8000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dbb000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dbb8d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7ee5000, 4096, PROT_READ) = 0
mprotect(0xb7f1f000, 4096, PROT_READ) = 0
munmap(0xb7ef3000, 74692) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0x80fe000
brk(0x80ff000) = 0x80ff000
open("/usr/share/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
brk(0x8100000) = 0x8100000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f05000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
brk(0x8101000) = 0x8101000
brk(0x8102000) = 0x8102000
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f05000, 4096) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=353, ...}) = 0
mmap2(NULL, 353, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f05000
close(3) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26026, ...}) = 0
mmap2(NULL, 26026, PROT_READ, MAP_SHARED, 3, 0) = 0xb7efe000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap2(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7efd000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap2(NULL, 49, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7efc000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
mmap2(NULL, 127, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7efb000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap2(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7efa000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap2(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef9000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=58, ...}) = 0
mmap2(NULL, 58, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef8000
close(3) = 0
brk(0x8103000) = 0x8103000
open("/usr/share/locale/fr_CH.UTF-8/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
mmap2(NULL, 294, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef7000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=932330, ...}) = 0
mmap2(NULL, 932330, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7cd7000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2363, ...}) = 0
mmap2(NULL, 2363, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef6000
close(3) = 0
brk(0x8104000) = 0x8104000
open("/usr/share/locale/fr_CH.UTF-8/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0
mmap2(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef5000
close(3) = 0
open("/usr/share/locale/fr_CH.UTF-8/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=275800, ...}) = 0
mmap2(NULL, 275800, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c93000
close(3) = 0
getuid32() = 500
getgid32() = 500
geteuid32() = 500
getegid32() = 500
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
time(NULL) = 1187094871
brk(0x8105000) = 0x8105000
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c92000
read(3, "MemTotal: 2075052 kB\nMemFre"..., 1024) = 693
close(3) = 0
munmap(0xb7c92000, 4096) = 0
brk(0x8106000) = 0x8106000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0x8107000) = 0x8107000
brk(0x8108000) = 0x8108000
brk(0x8109000) = 0x8109000
stat64("/home/gv/Téléchargement/oxygen_4", {st_mode=S_IFDIR|0754, st_size=8192, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0754, st_size=8192, ...}) = 0
getpid() = 18857
brk(0x810a000) = 0x810a000
brk(0x810b000) = 0x810b000
getppid() = 18856
getpgrp() = 18856
rt_sigaction(SIGCHLD, {0x807a150, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/home/gv/Téléchargement/oxygen_4/oxygen.sh", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf883338) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#!/bin/sh\n# Oxygen Startup scrip"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=618, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
brk(0x810c000) = 0x810c000
brk(0x810d000) = 0x810d000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "#!/bin/sh\n# Oxygen Startup scrip"..., 618) = 618
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x810e000) = 0x810e000
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -484, [134], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dbb918) = 18858
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18858
waitpid(-1, 0xbf882a98, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807a150, [], 0}, {0x807a150, [], 0}, 8) = 0
close(4) = 0
read(3, "/home/gv/T\303\251l\303\251chargement/oxygen"..., 128) = 35
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807ada0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x807ada0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "CP=$p/lib/oxygen.jar:$p/classes:"..., 618) = 484
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x810f000) = 0x810f000
stat64(".", {st_mode=S_IFDIR|0754, st_size=8192, ...}) = 0
stat64("/usr/local/bin/java", 0xbf8830ec) = -1 ENOENT (No such file or directory)
stat64("/bin/java", 0xbf8830ec) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=64248, ...}) = 0
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
read(3, "65536\n", 31) = 6
close(3) = 0
brk(0x818f000) = 0x818f000
getgroups32(65536, [22, 71, 80, 500]) = 4
stat64("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=64248, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dbb918) = 18859
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807ada0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, Exception in thread "main" java.lang.NoClassDefFoundError: ro/sync/exml/Oxygen
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 18859
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbf882de8, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807ada0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "", 618) = 0
exit_group(1) = ?
Process 18857 detached
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

I tested the Linux install package available on the Software Archive page with Java 1.5.0_11 and it works without problems. First try to run oXygen from the All Platforms kit on your computer which is only an archive without a graphic installer. What is the error reported for the command

Code: Select all

sh oxygen.sh
executed in the folder where you unzipped the All Platforms kit?


Regards,
Sorin
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

sorin wrote:I tested the Linux install package available on the Software Archive page with Java 1.5.0_11 and it works without problems. First try to run oXygen from the All Platforms kit on your computer which is only an archive without a graphic installer. What is the error reported for the command

Code: Select all

sh oxygen.sh
executed in the folder where you unzipped the All Platforms kit?


Regards,
Sorin
Still the same:
Exception in thread "main" java.lang.NoClassDefFoundError: ro/sync/exml/Oxygen

It's clearly a java config point, but I can't find out what's the problem. And I still need to work with oXygen...:?

Cheers,
Gérald
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

Well, I've tried with other Java editors (Editix, Jaxe): both work perfectly with my current java config...

That would be a pity to leave oXygen for this irritating little problem...:(

Gérald
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Gerald,

The problem may be related with the path you installed oXygen in, more exactly the "Téléchargement" part of it. Please try to unpack it in something like

/home/gv/oxygen_4/

I believe that should solve the problem.

Best Regards,
George
George Cristian Bina
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

george wrote:Hi Gerald,

The problem may be related with the path you installed oXygen in, more exactly the "Téléchargement" part of it. Please try to unpack it in something like

/home/gv/oxygen_4/

I believe that should solve the problem.

Best Regards,
George
Interesting idea indeed. I was ready to write back "Bingo!"... But nope. Same old thing. BTW, the Editix script run from the above dubious directory.

But that was a nice try.

Best,
Gérald
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

What happens is that Java does not see the startup class file in the oxygen.jar. That means mainly one of
1. lib/oxygen.jar is corrupt and does not contain the class file
2. oxygen.jar is not accessible, for instance if the java process does not have read access on the lib/oxygen.jar file
3. lib/oxygen.jar does not get correctly set in the classpath (the sh file does some processing for setting the classpath)

You may try editing the oxygen.sh file and expand manually the variable that points to oXygen home when the classpath is computed:

# Classpath
CP=$OXYGEN_HOME/lib/oxygen.jar:$OXYGEN_HOME/classes:$OXYGEN_HOME

with something like

# Classpath
CP=/home/gv/oxygen_4//lib/oxygen.jar:/home/gv/oxygen_4

assuming oxygen.sh is in /home/gv/oxygen_4
(note that I removed classes from classpath as this gets used only when we run a development version that has the classes in the classes folder instead of lib/oxygen.jar)

Best Regards,
George
George Cristian Bina
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

Ok, now we are reaching a point! ;-)

Yes, It was a class file problem. But more simple than it appeared...

The oxygen.sh script contain

CP=$p/lib/oxygen.jar:$p/classes:$p

which is obviously leading to a /lib directory... inexistant! All the files are in the main and unique directory.

So I suppressed the /lib in this line

CP=$p/oxygen.jar:$p/classes:$p

and it works!

Thank you for your help and I'm going back to work now.

Cheers,
Gérald
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

gv wrote:The oxygen.sh script contain

CP=$p/lib/oxygen.jar:$p/classes:$p

which is obviously leading to a /lib directory... inexistant! All the files are in the main and unique directory.
The archive of oXygen 4.2 contains a lib subfolder which contains a file oxygen.jar. What is the command that unzipped the archive? What is the structure of the oxygen folder created by unzipping the archive?


Regards,
Sorin
gv
Posts: 10
Joined: Mon Aug 13, 2007 3:04 pm

Post by gv »

sorin wrote: The archive of oXygen 4.2 contains a lib subfolder which contains a file oxygen.jar. What is the command that unzipped the archive? What is the structure of the oxygen folder created by unzipping the archive?
Yep, my fault! The gz archive indeed contain all the subdirectories. I just forgot to active the "full path" option... :oops:

Well, at least, I learned something about the oXygen script. :?

Thanks again.

Best,
gv
Post Reply