Greenhorn
posted 8 years ago- How to see the version of Oracle Linux. Determine Oracle Linux version. Oracle Linux is based on Red Hat Enterprise Linux. At first, it may be confusing to determine what specific operating system is running. This is because both have the /etc/redhat-release file.
- Apache’s newer version, 2.0, is necessary to take advantage of key features not available in older versions. Among them are: Multi-Process Modules (MPMs), which modify the way Apache listens to the network, accepts and handles requests to improve efficiency.
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 How to check the jdk bit version (32bit or 64 bit) (Java in General forum at Coderanch). If you only see the 32-bit mode listed, you’re running a 32-bit version of Linux. Option Two: Use the Graphical Interface If you would rather use a graphical tool to find out whether your system is 32-bit or 64-bit, click the “System” menu (the gear button) in the upper-right corner of the screen, and then select the “System Settings” options from the dropdown menu. How to Find the Version of the Solaris OS That Your System Is Running. To see the version of Solaris software that is running on your system, type either of the following commands. The cat command provides more detailed information. $ cat /etc/release.
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 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.
Sheriff
posted 8 years agoCheck System.getProperty('os.arch'). This will print out something like x86 for a 32 bit JVM. System.getProperty('sun.arch.data.model') also seems to be doing the job. But keep in mind, these (most likely) return the value for the JVM - a 32 bit JVM on a 64 bit OS will probably still be identified as 32 bit.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask QuestionsHow To Answer Questions
How To Ask QuestionsHow To Answer Questions
Java Cowboy
posted 8 years ago- 1
![How To Find Solaris Version How To Find Solaris Version](/uploads/1/2/6/1/126172025/554773195.png)
The output that you show from java -version is from a 32-bit version. If it is 64-bit, you'll see something like '64-bit Server VM' in there instead of 'Client VM'.
Greenhorn
posted 7 years ago- 4
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.
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.
Rancher
posted 7 years agoNiranjan 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.
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.'
Sheriff
posted 7 years ago- 2
Apparently this flag was added in Java 7. When I try it with a Java 6 JVM it fails, with a Java 7 JVM I get the specified output.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask QuestionsHow To Answer Questions
How To Ask QuestionsHow To Answer Questions
Greenhorn
posted 6 years agoHi Vardhan, 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)
Oracle Solaris
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.
![Solaris Solaris](/uploads/1/2/6/1/126172025/877399427.png)
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 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.
Greenhorn
posted 6 years agoif it is upto only checking of jdk bit version then we are ok , but whenever there is a question of chosing one of them then we should know the pros and cons of each one over other
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/
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/
Despite the popularity of window managers that offer graphical user interfaces, the best way to search for files in Linux still requires a shell. The find command, with its myriad options and switches, offers the most powerful and precise features to surface what you're looking for.
All modern Linux distributions support find from the shell. Access the shell (sometimes called the terminal window) by clicking the relevant icon or pressing Ctrl+Alt+T.
The 'find' Command
The command used to search for files is called find. Download free banner maker. Tamil movie download isaimini.
The basic syntax of the find command is:
The currently active path marks the search location, by default. To start searching the whole drive you would type the following:
If, however, you want to start searching for the folder you are currently in then you can use the following syntax:
When you search by name across the whole drive, use the following syntax:
- The first part of the find command is the find command itself.
- The second part is where to start searching from.
- The next part is an expression which determines what to find.
- Finally the last part is the name of the thing to find.
Search Location Shortcuts
The first argument after find is the location you wish to search. Although you may specify a specific directory, most people use a metacharacter to serve as a substitute. The three metacharacters that work with this command include:
- Period: specifies the current and all nested folders
- Forward Slash: specifies the entire filesystem
- Tilde: specifies the active user's home directory
Searching the entire filesystem is likely to generate a lot of access-denied errors. Run the command with elevated privileges (e.g., by using sudo), if you need to search in places your standard account normally cannot access.
Expressions
The most common expression you will use is -name. The -name expression lets you search for the name of a file or folder.
There are, however, other expressions you can use:
- -amin n: The file was last accessed n minutes ago
- -anewer: The file was last accessed more recently than it was modified
- -atime n: The file was last accessed more n days ago
- -cmin n: The file was last changed n minutes ago
- -cnewer: The file was last changed more recently than the file was modified
- -ctime n: The file was last changed more than n days ago
- -empty: The file is empty
- -executable: The file is executable
- -false: Always false
- -fstype type: The file is on the specified file system
- -gid n: The file belongs to group with the ID n
- -group groupname: The file belongs to the named group
- -ilname pattern: Search for a symbolic line but ignore case
- -iname pattern: Search for a file but ignore case
- -inum n: Search for a file with the specified node
- -ipath path: Search for a path but ignore case
- -iregex expression: Search for a expression but ignore case
- -links n: Search for a file with the specified number of links
- -lname name: Search for a symbolic link
- -mmin n: File's data was last modified n minutes ago
- -mtime n: File's data was last modified n days ago
- -name name: Search for a file with the specified name
- -newer name: Search for a file edited more recently than the file given
- -nogroup: Search for a file with no group id
- -nouser: Search for a file with no user attached to it
- -path path: Search for a path
- -readable: Find files which are readable
- -regex pattern: Search for files matching a regular expression
- -type type: Search for a particular type
- -uid uid: Files numeric user id is the same as uid
- -user name: File is owned by user specified
- -writable: Search for files that can be written to
Example Usage of the Find Command
How to Find Files Accessed More Than a Certain Number of Days Ago
To find all the files within your home folder accessed more than 100 days ago:
Solaris Version Check
How to Find Empty Files and Folders
To find all the empty files and folders in your system:
How to Find All of the Executable Files
To find all of the executable files on your computer:
How to Find All of the Readable Files
To find all of the files that are readable:
Patterns
When you search for a file you can use a pattern. For example, search for all files with the extension mp3:
How to Send Output from the Find Command to a File
Latest Version Of Solaris
The main problem with the find command is that it can sometimes return too many results to look at in one go. Pipe the output to the tail command or you can output the lines to a file as follows: https://nextsupernal196.weebly.com/muvee-autoproducer-6-free-download.html.
How to Find and Execute a Command Against a File
To search for and edit a file at the same time:
How To Find Solaris Version
The above command searches for a file called filename and then runs the nano editor for the file that it finds.