Building on x64 linux libjvm.so

15 views
Skip to first unread message

Eugene M

unread,
Jun 3, 2009, 7:32:06 PM6/3/09
to pococapsule
Hi,

I was just trying to build svn on x64 linux (fedora 10). Looks like
launcher.C has some hard-coded .so paths.

When I run the tools I get:
/usr/lib/jvm/java/jre/lib/i386/client/libjvm.so: cannot open shared
object file: No such file or directory

I had to change it to # define CLNT_JVM "/jre/lib/amd64/server/
libjvm.so" so that it would run the tools without crashing.

See ya
Eugene

Ke Jin

unread,
Jun 5, 2009, 11:54:22 PM6/5/09
to pococapsule
Yes, the marco CLNT_JVM in the code is defined for windows and linux
(x32) only. By the way, why you use the server JVM?

Thanks!
Ke

Eugene Marcotte

unread,
Jun 6, 2009, 9:03:08 AM6/6/09
to pococ...@googlegroups.com
I couldn't find a non server one... thats why :)

[eugene@emarcotte java]$ pwd
/usr/lib/jvm/java
[eugene@emarcotte java]$ find -name libjvm.so
./jre/lib/amd64/server/libjvm.so


I still haven't gotten around to trying this thing out for real yet... but its Saturday now... :)

Ke Jin

unread,
Jun 6, 2009, 12:06:27 PM6/6/09
to pococapsule
I see. Thanks!

Also, don't forget to change the CLNT_JVM in the xslreader/
xslreader.C as well. This is used by almost all examples.

Have a nice weekend!
Ke

On Jun 6, 6:03 am, Eugene Marcotte <emarco...@gmail.com> wrote:
> I couldn't find a non server one... thats why :)
>
> [eugene@emarcotte java]$ pwd
> /usr/lib/jvm/java
> [eugene@emarcotte java]$ find -name libjvm.so
> ./jre/lib/amd64/server/libjvm.so
>
> I still haven't gotten around to trying this thing out for real yet... but
> its Saturday now... :)
>
Reply all
Reply to author
Forward
0 new messages