Sponsored Content
Top Forums Shell Programming and Scripting How to Find JRE installed in linux machine..? Post 302139987 by blowtorch on Wednesday 10th of October 2007 08:29:13 AM
Old 10-10-2007
By JRE, do you mean a basic java install? That can be checked by running 'which java'. If it is in the path, it will show up. Other ways include running a find on / and looking for the file with your name. That will be slow, though.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

command to find when Linux OS is installed?

hey , Anyone knows command to find when Linux OS is installed? Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies

2. Linux

Launching X apps from a machine without X installed

Hi. Here's my setup: a workstation with an X server a CentOS server with no X server installed (development, security is not a concern) a GUI application installed on the server When I ssh to that machine, I get: ssh -Xl root 192.168.x.x Warning: untrusted X11 forwarding setup... (4 Replies)
Discussion started by: flj
4 Replies

3. UNIX for Dummies Questions & Answers

Need to find the OS JRE as well as User installed JRE on my UNIX box!

Hi, I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box. I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one. Please help. Ali. (5 Replies)
Discussion started by: ali40
5 Replies

4. Red Hat

How do I network a Suse installed machine with other computers, specifically Red hat Linux?

How do I network a Suse installed machine with other computers, specifically Red hat Linux? This is for a school project, and I can't find any pages that tell how to network a Suse to other computers except how to use a printer. (1 Reply)
Discussion started by: Anna Hussie
1 Replies

5. Ubuntu

What time did Ubuntu installed on machine?

How can I learn what time OS installed time and release information. (4 Replies)
Discussion started by: getrue
4 Replies

6. Red Hat

Finding installed packages on Linux machine

Hi, i am trying to grab all the installed packages on linux machine,and only want to grab "Name" "Version" "Release" "Vendor" information i am using below command to do so : rpm -qa --info | grep -e 'Name' -e 'Version' -e 'Release' -e 'Vendor' the output contains lot other info... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

7. Shell Programming and Scripting

How to Find List of MQ and Websphere certificates that are installed on Linux and UNIX servers?

Dear All, I am planning to find the list of certificates(WEBshpere/MQ) on a servers. My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult for... (4 Replies)
Discussion started by: sidh_arth85
4 Replies

8. Red Hat

Installing Oracle jre 8 on Linux

Hi, I am a common user on a linux cluster that has openJDK installed. For a particular software, the vendor asks for Oracle version of java installed. How can I install the oracle version from my home space where I don't need admin privileges to install? thanks! (2 Replies)
Discussion started by: pc2001
2 Replies

9. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

10. UNIX for Beginners Questions & Answers

How to find whether Solaris installed on physical machine or on a VMware/KVM?

Hi All, . I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM. I tried uname -a but it's giving only whether i installed on X86 or sparc machine. I tried prtdiag command but it's giving below information. command : prtdiag -v |grep "System... (2 Replies)
Discussion started by: sravani25
2 Replies
MAVEN(1)							   User Commands							  MAVEN(1)

NAME
Maven - Creates a link in /usr/share/maven-repo for an existing jar. SYNOPSIS
mh_linkjar [option]... [pom] [dest_jar] [link]... DESCRIPTION
Create symlinks for a jar installed by other means. The symlinks created include links to the jar in /usr/share/maven-repo, at the correct location for Maven. It can also create additional links to the jar, usually located in /usr/share/java. Where [pom] is the location of the POM associated with the jar to install. GroupId, artifactId and version will be extracted from this file. [dest_jar] is the path of the installed jar, usually located in the usr/share/java folder. [link] is an additional link to the jar to install, usually there should be a link to usr/share/java/$jar.jar and usr/share/java/$jar-$version.jar to comply with the Java packaging guidelines. Note that there is no need to specify those particular links if the --java-lib option is used. OPTIONS
-h --help: show this text -V --version: show the version -p<package> --package=<package>: name of the Debian package which will contain this jar file -e<version>, --set-version=<version>: set the version for the jar, do not use the version declared in the POM file. -r<rules> --rules=<rules>: path to the file containing the rules to apply when cleaning the POM. Optional, the default location is debian/maven.rules Maven rules are used here to extract the groupId, artifactId and version from the POM file. -l --java-lib: Optional, if given it will install the jar into /usr/share/java to comply with the Debian Java specification. The jar will be installed as /usr/share/java/$name-$version.jar and a versionless link /usr/share/java/$name.jar will point to it, as well as the links installed in /usr/share/maven-repo -n<name> --usj-name=<name>: Optional, the name to use when installing the library in /usr/share/java when --java-lib is used. Defaults to the artifact id found in the POM. -j<version> --usj-version=<version>: Optional, the version to use when installing the library in /usr/share/java when --java-lib is used. Defaults to the version found in the POM. -s --no-usj-versionless: Optional, don't install the versionless link in /usr/share/java. This flag is used only when the -l or --java-lib option is given. -c<classifier> --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. -v --verbose: show more information while running -n --no-act: don't actually do anything, just print the results --skip-clean-pom: don't clean the pom, assume that a previous action ran mh_cleanpom with the correct options. mh_cleanpom is run only to extract the groupId, artifactId and version of the jar Maven Repo Helper version 1.7.1 January 2012 MAVEN(1)
All times are GMT -4. The time now is 12:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy