* RE: Problem with java
@ 2007-03-15 17:20 Teran Jesus
2007-03-15 17:39 ` Andrew Haley
0 siblings, 1 reply; 4+ messages in thread
From: Teran Jesus @ 2007-03-15 17:20 UTC (permalink / raw)
To: Andrew Haley; +Cc: gcc-help
Hello Andrew, I am using the red hat enterprise 4, why when i use the
libgcj-3.2.2-5 version it works, do you have another solution?
-----Original Message-----
From: Andrew Haley [mailto:aph@redhat.com]
Sent: Jueves, 15 de Marzo de 2007 10:24 a.m.
To: Teran Jesus
Cc: gcc-help@gcc.gnu.org
Subject: Re: Problem with java
Teran Jesus writes:
> Hello, I am using the java for a provisioning system and when i
> execute my program i get the next error, i have the
> libgcj-3.4.6-3.1 version, if i put an older version libgcj-3.2.2-5,
> the error doesn't appears, do you know what do i need with the new
> version to my program runs?
You need gcj Version 4.3 (not yet released) to run Java 1.5 code which
uses java.lang.StringBuilder.
Alternatively, if you're running on Fedora there's a new test RPM at
http://download.fedoraproject.org/pub/fedora/linux/core/development/x86_64/o
s/Fedora/libgcj-4.1.2-4.x86_64.rpm
http://download.fedoraproject.org/pub/fedora/linux/core/development/x86_64/o
s/Fedora/libgcj-4.1.2-4.i386.rpm
Andrew.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Problem with java
2007-03-15 17:20 Problem with java Teran Jesus
@ 2007-03-15 17:39 ` Andrew Haley
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Haley @ 2007-03-15 17:39 UTC (permalink / raw)
To: Teran Jesus; +Cc: gcc-help
Please don't top-post.
Teran Jesus writes:
> Hello Andrew, I am using the red hat enterprise 4, why when i use the
> libgcj-3.2.2-5 version it works, do you have another solution?
OK, my dates were wrong, sorry. We've had StringBuilder since May
2005, and it is in a couple of released versions.
However, I don't know why this program works with libgcj 3.2.2. Maybe
the program tries to "autodetect" which version of Java it's running
on.
Andrew.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with java
2007-03-15 16:23 Teran Jesus
@ 2007-03-15 17:01 ` Andrew Haley
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Haley @ 2007-03-15 17:01 UTC (permalink / raw)
To: Teran Jesus; +Cc: gcc-help
Teran Jesus writes:
> Hello, I am using the java for a provisioning system and when i
> execute my program i get the next error, i have the
> libgcj-3.4.6-3.1 version, if i put an older version libgcj-3.2.2-5,
> the error doesn't appears, do you know what do i need with the new
> version to my program runs?
You need gcj Version 4.3 (not yet released) to run Java 1.5 code which
uses java.lang.StringBuilder.
Alternatively, if you're running on Fedora there's a new test RPM at
http://download.fedoraproject.org/pub/fedora/linux/core/development/x86_64/os/Fedora/libgcj-4.1.2-4.x86_64.rpm
http://download.fedoraproject.org/pub/fedora/linux/core/development/x86_64/os/Fedora/libgcj-4.1.2-4.i386.rpm
Andrew.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problem with java
@ 2007-03-15 16:23 Teran Jesus
2007-03-15 17:01 ` Andrew Haley
0 siblings, 1 reply; 4+ messages in thread
From: Teran Jesus @ 2007-03-15 16:23 UTC (permalink / raw)
To: gcc-help
Hello, I am using the java for a provisioning system and when i execute my
program i get the next error, i have the libgcj-3.4.6-3.1 version, if i put
an older version libgcj-3.2.2-5, the error doesn't appears, do you know what
do i need with the new version to my program runs?
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving
class: com.broadsoft.clients.oci.OCIClient
at java.lang.VMClassLoader.resolveClass(java.lang.Class)
(/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/var/www/html/symphony/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/var/www/html/symphony/java.version=1.4.2)
Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not
found in [file:/var/www/html/symphony/asociclient/build/classes/,
file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]
at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader)
(/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0()
(/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class)
(/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class)
(/usr/lib/libgcj.so.5.0.0)
Atentamente:
Ing. Jesús Terán Blásquez
MCM Telecomunicaciones
53.50.00.57
Planeación
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-15 17:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-15 17:20 Problem with java Teran Jesus
2007-03-15 17:39 ` Andrew Haley
-- strict thread matches above, loose matches on Subject: below --
2007-03-15 16:23 Teran Jesus
2007-03-15 17:01 ` Andrew Haley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).