java-gnome

P

Phaero

carmine said:
Someone use java-gnome ?
I have a problem to compile it.
Thanks

No I haven't tested java-gnome but even if I had I would say: Describe
you problem.

Right now your post is as useful as "Can I ask a question?"

/Johan
 
C

carmine

u are right, then ...
I want to compile libgtk-java
../configure
and all is ok
after
make all
there is this error

/usr/java/j2sdk1.4.2_05/jre/lib/rt.jar' didn't have the special
zero-length `gnu.gcj.gcj-compiled' attribute.
This generally means that your classpath is incorrectly set. Use `info
gcj "Input Options"' to see the info page describing how to set the
classpath


this is my classpath
PATH=/usr/java/j2sdk1.4.2_05/bin:$PATH:$HOME/bin:./
export PATH
export JAVA_HOME=/usr/java/j2sdk1.4.2_0
export
CLASSPATH=/usr/java/j2sdk1.4.2_05/lib/tools.jar:/usr/java/j2sdk1.4.2_05/jre/lib/rt.jar:./

how can i resolve it ?
thanks
 
H

Hamilcar Barca

/usr/java/j2sdk1.4.2_05/jre/lib/rt.jar' didn't have the special
zero-length `gnu.gcj.gcj-compiled' attribute.
This generally means that your classpath is incorrectly set. Use `info
gcj "Input Options"' to see the info page describing how to set the
classpath

Do you need to use the GNU Classpath libraries instead of Sun's classes?
 
D

Dave Monroe

carmine said:
u are right, then ...
I want to compile libgtk-java
./configure
and all is ok
after
make all
there is this error

/usr/java/j2sdk1.4.2_05/jre/lib/rt.jar' didn't have the special
zero-length `gnu.gcj.gcj-compiled' attribute.
This generally means that your classpath is incorrectly set. Use `info
gcj "Input Options"' to see the info page describing how to set the
classpath


this is my classpath
PATH=/usr/java/j2sdk1.4.2_05/bin:$PATH:$HOME/bin:./
export PATH
export JAVA_HOME=/usr/java/j2sdk1.4.2_0
export
CLASSPATH=/usr/java/j2sdk1.4.2_05/lib/tools.jar:/usr/java/j2sdk1.4.2_05/jre/lib/rt.jar:./

how can i resolve it ?
thanks

Have you noticed that $JAVA_HOME ends with 2_0 and your classpath
entries end with 2_05?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top