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.

Can anyone get hotspot to work on a 1.3JVM for a SparcV9 box?

Thread view: 
Paul Rowe - 23 Jul 2003 15:50 GMT
Hello All;

 I have a problem where I am trying to verify that Hotspot is indeed
running on our JVM.  We have a 4CPU SparcV9 box and every time I
invoke java -version, I keep getting:

Java HotSpot(TM) Client VM (build 1.3.1-b24, interpreted mode)

I tried several different flavors of 1.3.1, and I always get
"interpreted mode."  I downloaded 1.4.1 and I get mixed mode.  But, in
production, I cannot use 1.4.1 because it is not a supported JVM by
our vendor.  I try to force the hotspot compiler using -server or
-client, but it appears I already get "interpreted mode" back when I
run java -version.  When I run java -version, and if it says
"interpreted mode," does this mean that Hotspot is disabled for this
JVM?  Should I trust the output that comes back from java -version?
Does anyone know of any known issues with Hotspot and Sparcv9 where it
is disabled by default?  Is there anyway I can find out why hotspot is
not working on these 1.3 JVM's (ie -verbose option?) I just can't seem
to enable hotspot in 1.3 ...

TIA;

paul@paulrowe.com
Roedy Green - 23 Jul 2003 21:07 GMT
>  I have a problem where I am trying to verify that Hotspot is indeed
>running on our JVM.  We have a 4CPU SparcV9 box and every time I
>invoke java -version, I keep getting:

Have you experimented with the -client and -server switches?

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Thomas Maslen - 24 Jul 2003 18:54 GMT
>Hello All;
>
[quoted text clipped - 3 lines]
>
>Java HotSpot(TM) Client VM (build 1.3.1-b24, interpreted mode)

Here's one possibility:

    > /usr/local/stow/jdk-1.3.1/bin/java -version
    java version "1.3.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
    Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
    > setenv JAVA_COMPILER none
    > /usr/local/stow/jdk-1.3.1/bin/java -version
    java version "1.3.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
    Java HotSpot(TM) Client VM (build 1.3.1_02-b02, interpreted mode)
    > unsetenv JAVA_COMPILER
    > /usr/local/stow/jdk-1.3.1/bin/java -version
    java version "1.3.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
    Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
    >

(Yes, that's csh syntax.  If you use sh/bash/ksh, munge it appropriately).

In general, use /usr/bin/env to dump all your environment variables;
scrutinize each one and have a think about whether it's good or bad.

Thomas Maslen
maslen@wedgetail.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.