How To Find Solaris Version
Upgrading the ZFS filesystem and zpool versions is a one-way operation. Once upgraded, the versions cannot be downgraded. This will prevent booting from older boot environments if support for the upgraded zpool/filesystem version is not available within those boot environments. I am in terminal in Redhat 5.5 and I need to find out which version of Oracle is installed. I am pretty new at Linux, but I have searched Google for a while and I can't find what I need. Objective The objective of this guide is to provide you with some hints on how to check system version of your Redhat Enterprise Linux (RHEL). There exist multiple ways on how to check the system version, however, depending on your system configuration, not all examples described below may be suitable.
- How To Find Solaris Sparc Version
- How To Find Solaris Sru Version
- How To Find Solaris Os Version
- Solaris Version Check
I have a query regarding JDK bit version (64 bit or 32 bit). Not sure how to check the bit version in Windows, solaris and other O/S.
Output for java -version is as follows
java version '1.5.0_16'
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Please help.
Thanks,
Vardan.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask QuestionsHow To Answer Questions
- 1
- 4
java -d64 -version
If it's not a 64-bit version, you'll get a message that looks like:
This Java instance does not support a 64-bit JVM. Please install the desired version.
Niranjan Welankiwar wrote:You can try on the command line:
java -d64 -version
If it's not a 64-bit version, you'll get a message that looks like:
This Java instance does not support a 64-bit JVM. Please install the desired version.
When I tried on my 32 bit system I get following output. Not able to see quoted output 'This Java instance does not support a 64-bit JVM. Please install the desired version.'
- 2
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask QuestionsHow To Answer Questions
In solaris you can check whether java is 64bit by using the following command
#truss -t exec java -d64 -version
execve('/usr/jdk/instances/jdk1.5.0/bin/java', 0xFFBFFDDC, 0xFFBFFDEC)
argc = 3
execve('/usr/jdk/instances/jdk1.5.0/bin/sparcv9/java', 0x00031E18,
0x00032ADC)
argc = 2
java version '1.5.0_06'
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)
The last line should give 64-Bit or 32-bit Java.
CHEERS,
RAMU KADALI
Vardan Negi wrote:Hi Guys,
I have a query regarding JDK bit version (64 bit or 32 bit). Not sure how to check the bit version in Windows, solaris and other O/S.
Output for java -version is as follows
java version '1.5.0_16'
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Please help.
Thanks,
Vardan.
I just want to add little extra in it - generally people prefer to switch over 64 but JVM when the existing heap space (1.5 to 1.8 M varies OS to OS) size provided by 32 bit JVM is not suffice for their application , but these days it is very common that people are migrating to 64 bit without understanding the requirement of applications.
http://lotusmediacentre.com/difference-between-32-bit-and-64-bit-jvm-choose-wisely/
There are several ways of knowing the version of Linux you are running on your machine as well as your distribution name and kernel version plus some extra information that you may probably want to have in mind or at your fingertips.
Therefore, in this simple yet important guide for new Linux users, I will show you how to do just that. Doing this may seem to be relatively easy task, however, having a good knowledge of your system is always a recommended practice for a good number of reasons including installing and running the appropriate packages for your Linux version, for easy reporting of bugs coupled with many more.
Suggested Read:5 Ways to Find Out Linux System is 32-bit or 64-bit
With that said, let us proceed to how you can figure out information about your Linux distribution.
Find Out Linux Kernel Version
We will use uname command, which is used to print your Linux system information such as kernel version and release name, network hostname, machine hardware name, processor architecture, hardware platform and the operating system.
To find out which version of Linux kernel you are running, type:
Shows Current Linux Kernel Version Running on System
In the preceding command, the option -o
prints operating system name and -r
prints the kernel release version.
You can also use -a
option with uname command to print all system information as shown:
Next, we will use /proc file system, that stores information about processes and other system information, it’s mapped to /proc
and mounted at boot time.
Simply type the command below to display some of your system information including the Linux kernel version:
How To Find Solaris Sparc Version
Shows Linux System Information
How To Find Solaris Sru Version
From the image above, you have the following information:
- Version of the Linux (kernel) you are running: Linux version 4.5.5-300.fc24.x86_64
- Name of the user who compiled your kernel: [email protected]
- Version of the GCC compiler used for building the kernel: gcc version 6.1.1 20160510
- Type of the kernel: #1 SMP (Symmetric MultiProcessing kernel) it supports systems with multiple CPUs or multiple CPU cores.
- Date and time when the kernel was built: Thu May 19 13:05:32 UTC 2016
Find Out Linux Distribution Name and Release Version
The best way to determine a Linux distribution name and release version information is using cat /etc/os-release
command, which works on almost all Linux system.
How To Find Solaris Os Version
In this article, we walked through a brief and simple guide intended to help new Linux user find out the Linux version they are running and also get to know their Linux distribution name and version from the shell prompt.
Solaris Version Check
Perhaps it can also be useful to advanced users on one or two occasions. Lastly, to reach us for any assistance or suggestions you wish to offer, make use of the feedback form below.