Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / July 2003

Tip: Looking for answers? Try searching our database.

How to get jdk 1.3.1 as 64 Bit executavle on Solaris 8

Thread view: 
Frank Zimmer - 29 Jul 2003 13:30 GMT
Hi,

i have the problem that we are using the Native interface of Java and
have developed our own library to use.
Now if i start the jvm i get the errormessage :

wrong ELF class: ELFCLASS64

when the jvm tries to load this library.
A look at the jvm library shows that this is only a 32 bit and our
library is 64 bit
Can i now get the jvm also as 64 bit
I know that is possible for the 1.4 versions of java

regards
Frank
Thomas Maslen - 29 Jul 2003 20:31 GMT
[...]
>i have the problem that we are using the Native interface of Java and
>have developed our own library to use.
[quoted text clipped - 7 lines]
>Can i now get the jvm also as 64 bit
>I know that is possible for the 1.4 versions of java

I believe (but could be wrong) that JDK 1.4(.x) is the first version where
Sun offered a 64-bit SPARC Solaris JVM.

By default the C compilers generate 32-bit code, so presumably you chose
64-bit mode explicitly?

Is there something about your library that desperately needs 64-bit SPARC
code?  The vast majority of apps (and particularly Java apps) still run in
32-bit mode, and unless you really need an address space larger than 32
bits, you're probably paying a bit of a performance hit for using 64-bit
mode (this isn't just for SPARC;  note that a lot of the SPEC benchmarks,
even on very 64-bit-oriented CPUs like the Alpha, are run in 32-bit mode
because they perform somewhat better that way).

This probably goes without saying, but just for the record...  even if you
use the 64-bit Solaris kernel (and hence 64-bit kernel device drivers),
it's still fine for the user-level application programs (and libraries) to
be 32-bit (and on the average Solaris 8 or 9 system, chances are that 90%
or more of the apps are running in 32-bit mode).

Thomas Maslen
maslen@pobox.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.