Sponsored Content
Full Discussion: What's my JVM bitness?
Top Forums Shell Programming and Scripting What's my JVM bitness? Post 302534973 by mohtashims on Wednesday 29th of June 2011 09:19:44 AM
Old 06-29-2011
Question What's my JVM bitness?

Code:
/apps/wls/bea10/jdk160_05/bin/java -d64 -version
execve(): No such file or directory
Error trying to exec /apps/wls/bea10/jdk160_05/bin/sparcv9/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Verify all necessary J2SE components have been installed.
(Solaris SPARC 64-bit components must be installed after 32-bit components.)

/apps/wls/bea10/jdk160_05/bin/java -d32 -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
 
 
uname -a
SunOS mypc 5.10 Generic_144488-07 sun4v sparc SUNW,SPARC-Enterprise-T5220

How can script to check if my JVM is 32 bit or 64 bit?

Note: I need to check this from a remote JVM or unix script as I cant deploy my code on a running JVM.

Regards,
Mohtashim

Last edited by pludi; 06-29-2011 at 11:09 AM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

heap size for JVM!

Hi all, Thanks 'thehoghunter' and 'hugo' for the comments! I've to increase the size of the heap size for AIX 4.3.3. Now what's the command that I've and also is it something similar to growing the file system in Solaris (growfs) (1 Reply)
Discussion started by: i2admin
1 Replies

2. UNIX for Dummies Questions & Answers

Instaling JVM

Hi Everyone I`ve just started with unix can some please help me execute this command via webmin on avirtual server or how do you execute such .bin file this is the error ./j2sdk-1_3_1_15-linux-i586.bin: not found > ls -l total 69124 -rw------- 1 root wheel 8380 May 15 18:01... (2 Replies)
Discussion started by: J.Carlos MC05
2 Replies

3. UNIX for Advanced & Expert Users

inside the JVM

Hi, does anyone know how to find out what's happening inside a JVM on a unix system? Like what processes are running, which ports, memory usage etc. I'm using AIX 5.2 (1 Reply)
Discussion started by: rein
1 Replies

4. AIX

JVM Setting

What should be the idle JVM setting for the LPAR having 16 GB of memory? Currently the JVM setting is set to -Xms1024M -Xmx10240M (1 Reply)
Discussion started by: aajmani
1 Replies

5. AIX

AIX JVM -32 or 64?

Friends, Can any one tell me what command should be used to check whether the JVM in AIX is 32 bit or 64 bit? Thanks, Govindh (2 Replies)
Discussion started by: Govindh.v
2 Replies

6. Web Development

need help about jvm

hi all i want to install apache and tomcat in unix solaris 10 so i need to konw about heap and jvm memory architecture in jdk version 4 and 5 and 6 i want one help me i searched alot and i can't find something helo me (1 Reply)
Discussion started by: maxim42
1 Replies

7. Solaris

jvm memory settings

When i changed jvm memory settings from 3048 to 3548, appsserver could not start. if no change , it was normal. How do we change .otherwise i had a out of swap space error appeared after 3hrs period when do the monitoring of java application. (1 Reply)
Discussion started by: vijill
1 Replies

8. Programming

Porting JVM to MINX

Hi, As you may see from the title, for some reason I need to make running .class files on Minix possible (a compiler is not necessary). So could somebody point me in any direction, suggest some literature or give some advice? Generally, how would you do it? Also how big is this... (8 Replies)
Discussion started by: John117
8 Replies

9. UNIX for Dummies Questions & Answers

JVM Memory

Hi all, I am starting a JVM in unix and when I use ps command on the pid of process starting JVM the output is something like this :- java -Xms32M -Xmx64M -Xmx128M I need to know what would be the value of Xmx in this case. And how to check that this value be picked while starting JVM... (3 Replies)
Discussion started by: Raj999
3 Replies

10. AIX

JVM Process Name

Hi - In AIX, how do I find the Java Virtual Machine Process Name running on a particular machine? I tried ps -ef | grep java but it does not return a process name. Please help. (4 Replies)
Discussion started by: ocbit
4 Replies
JavaServiceWrapper(1)					      General Commands Manual					     JavaServiceWrapper(1)

NAME
wrapper - Jar daemon wrapper USAGE
wrapper <command> <configuration file> [configuration properties] [...] wrapper <configuration file> [configuration properties] [...] (<command> implicitly '-c') wrapper <command> (<configuration file> implicitly 'wrapper.conf') wrapper (<command> implicitly '-c' and <configuration file> 'wrapper.conf') where <command> can be one of: -c --console run as a Console application -v --version print the wrapper's version information. -? --help print this help message -- <args> mark the end of Wrapper arguments. All arguments after the '--' will be passed through unmodified to the java application. <configuration file> is the wrapper.conf to use. Name must be absolute or relative to the location of wrapper [configuration properties] are configuration name-value pairs which override values in wrapper.conf. For example: wrapper.debug=true Please note that any file references must be absolute or relative to the location of the Wrapper executable. JAVA WRAPPER SERVICE DESCRIPTION
The Java Service Wrapper makes very easy to install a Java Application as a daemon process on Unix systems. The Wrapper monitors a JVM (Java Virtual Machine) process and automatically restarts it if it that the JVM has crashed or hung. This process takes just a few seconds once the Wrapper has decided there is a problem. It also gives the ability to handle process priority. AUTHOR
Java Service Wrapper Community Edition 32-bit 3.5.3 Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved. http://wrap- per.tanukisoftware.com This manual page was written by Remi Debay <debay.remi@gmail.com>. 10/08/2010 JavaServiceWrapper(1)
All times are GMT -4. The time now is 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy