12-23-2017
No need to uninstall anything.
Install the required oracle java using rpm.
Using alternatives command as superuser one can change the default java used.
Bare in mind, that perhaps some programs on the system rely on open java, so above change could affect those.
One could also download only required oracle java as compressed archive with all binaries and libraries required.
Create a user on the system which will utilize that java environment.
Unpack the archive under /opt/orajava (for instance)
As root, chown /opt/orajava to user created.
Setup required java options in user home directory profile file (JAVA_HOME etc.)
Configure kernel parameters for that user, depending on the application requirements/load (if applicable, defaults are often ok).
Above setup will have no effect on the system other then running new processes/code (load) under user created above and consuming disk space required.
Hope that helps
Regards
Peasant.
6 More Discussions You Might Find Interesting
1. Red Hat
For those of us who slept through the month of June, the OpenJDK 6 stack in Fedora was certified as TCK compliant. Meaning it can carry the “100% Java(TM)” moniker. Rich Sharples has a nice write-up (with a second part answering the blogosphere):
In June, 2007 - Red Hat launched the IcedTea... (0 Replies)
Discussion started by: Linux Bot
0 Replies
2. Red Hat
Hi Forum
Im a new to fedora and was wondering ,Can anybody direct me to a site that shows me how to install Java EE 6 SDK Update 1 (with JDK 6 Update 23) for fedora 14. NOT openjdk i need oracles java to develop a web app using tomcat 7.0
Any help would be much appreciated and thank you in advance (1 Reply)
Discussion started by: ShinTec
1 Replies
3. Red Hat
Are all of these java packages available for fedora? I use several VERY picky websites that want all of these packages to properly work.
sun-java6-jre sun-java6-bin sun-java6-jdk sun-java6-plugin sun-java6-fonts (1 Reply)
Discussion started by: cokedude
1 Replies
4. Solaris
What kind of required java type for installed?
which address link, i need to download the package.
i have zcat this version jdk-7-solaris-sparc.tar.Z and then installed each the packages with pkgadd -d . , but my java version still java full version "1.5.0_24-b02".is it need doanything after... (1 Reply)
Discussion started by: aagusman
1 Replies
5. AIX
Folks,
Any idea of where can I find a specific file to differentiate JRE and Java JDK installed on AIX platform :cool: (3 Replies)
Discussion started by: dellcisco
3 Replies
6. UNIX for Advanced & Expert Users
What is the proper way to set your java classpath? (0 Replies)
Discussion started by: cokedude
0 Replies
LEARN ABOUT DEBIAN
git-check-attr
GIT-CHECK-ATTR(1) Git Manual GIT-CHECK-ATTR(1)
NAME
git-check-attr - Display gitattributes information
SYNOPSIS
git check-attr [-a | --all | attr...] [--] pathname...
git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>
DESCRIPTION
For every pathname, this command will list if each attribute is unspecified, set, or unset as a gitattribute on that pathname.
OPTIONS
-a, --all
List all attributes that are associated with the specified paths. If this option is used, then unspecified attributes will not be
included in the output.
--cached
Consider .gitattributes in the index only, ignoring the working tree.
--stdin
Read file names from stdin instead of from the command-line.
-z
Only meaningful with --stdin; paths are separated with a NUL character instead of a linefeed character.
--
Interpret all preceding arguments as attributes and all following arguments as path names.
If none of --stdin, --all, or -- is used, the first argument will be treated as an attribute and the rest of the arguments as pathnames.
OUTPUT
The output is of the form: <path> COLON SP <attribute> COLON SP <info> LF
<path> is the path of a file being queried, <attribute> is an attribute being queried and <info> can be either:
unspecified
when the attribute is not defined for the path.
unset
when the attribute is defined as false.
set
when the attribute is defined as true.
<value>
when a value has been assigned to the attribute.
EXAMPLES
In the examples, the following .gitattributes file is used:
*.java diff=java -crlf myAttr
NoMyAttr.java !myAttr
README caveat=unspecified
o Listing a single attribute:
$ git check-attr diff org/example/MyClass.java
org/example/MyClass.java: diff: java
o Listing multiple attributes for a file:
$ git check-attr crlf diff myAttr -- org/example/MyClass.java
org/example/MyClass.java: crlf: unset
org/example/MyClass.java: diff: java
org/example/MyClass.java: myAttr: set
o Listing all attributes for a file:
$ git check-attr --all -- org/example/MyClass.java
org/example/MyClass.java: diff: java
org/example/MyClass.java: myAttr: set
o Listing an attribute for multiple files:
$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java
org/example/MyClass.java: myAttr: set
org/example/NoMyAttr.java: myAttr: unspecified
o Not all values are equally unambiguous:
$ git check-attr caveat README
README: caveat: unspecified
SEE ALSO
gitattributes(5).
GIT
Part of the git(1) suite
Git 1.7.10.4 11/24/2012 GIT-CHECK-ATTR(1)