Probably you will just need to alter the PATH for the program.
Note: you may have adjust some other environment variables depending on what "otherprogram" needs.
Some Linux based distributions provide something called "alternatives" which is a way of switching the "default" version of a particular program when multiple versions are installed. But the idea is to not switch this all of the time...
Hi
When I say java -version, the following text is printed
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20060421 (SR5) (JIT enabled: jitc))
Is there a way to echo Java version? (1 Reply)
I have an issue here setting up ASR with a server.
In order to have the SASM service runnning/enabled, the required java version is 1.6 U18(latest). My OS came with JDK 1.5
I downloaded and installed 1.6
But when I did java -version , its still showing 1.5
I captured the below from another... (4 Replies)
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
hi
my box is a global zone with no local zones and the command java -version shows as "1.5.0_26".
now we got a requirement from the application team to install jdk1.5.0_24. Is it possible to install the version of java(jdk1.5.0_24) as requested by the application team or is it possible to... (2 Replies)
Hi,
I want to know what version of the java is installed?
Please let me know the command or process to identify the installed java version in sun solaris box.
Thanks in advance for all your support. (3 Replies)
I am currently trying to write a script and I am not that great at wording it with taking in user input, it will do the following:
ask " Have you stopped instances? "
if instances are stopped, then I want it to change to the default java to 64 bits, and print the current version of java.... (1 Reply)
Hi,
I have got jre 1.5 that I have got to install in the HP.UX version 11.31.
I managed to install it with this command :
# swinstall -s /tmp/<jre.XXXXX.depot>
It automatically gets created in /opt/java1.5/jre/bin.
However, now I am not sure how to set the PATH to JAVA_HOME, and path to... (1 Reply)
Discussion started by: anaigini45
1 Replies
LEARN ABOUT DEBIAN
eatmydata
eatmydata(1) General Commands Manual eatmydata(1)NAME
eatmydata - transparently disable fsync() and other data-to-disk synchronization calls
SYNOPSIS
eatmydata [--] command [ command arguments ... ]
DESCRIPTION
eatmydata runs a command in the environment where data-to-disk synchronization calls (like fsync(), fdatasync(), sync(), msync() and open()
O_SYNC / O_DSYNC flags) have no effect. LD_PRELOAD library libeatmydata overrides respective C library calls with custom functions that
don't trigger synchronization but return success nevertheless.
You may use eatmydata in two ways. In normal mode, just execute eatmydata directly and pass a command-to-be-run and its arguments via com-
mand line. In order to use symlink mode, create a symlink to /usr/bin/eatmydata with the filename (a.k.a basename) of another program in
the PATH and execute eatmydata via that symlink. Then eatmydata will find that program in the PATH and run it in the libeatmydata environ-
ment repassing all command line options.
OPTIONS
Please note that eatmydata does not process any command line options in symlink mode. All command line options will be repassed to the
underlying executable as-is.
command
The command to execute. It may be either a full path or the name of the command in PATH. In case command cannot be found in PATH,
eatmydata will fail.
command arguments
Arbitrary number of arguments to pass to the command being executed.
-- Optional command separator for compatibility with similar utilities. Ignored at the moment.
EXAMPLES
Given PATH is /usr/bin and both /usr/bin/aptitude and /usr/bin/eatmydata are installed, the following:
$ ln -s /usr/bin/eatmydata ./aptitude
$ ./aptitude moo
is equivalent to:
$ eatmydata -- aptitude moo
Therefore, you may use symlink mode to automatically run specific programs in the libeatmydata environment whenever you run them from PATH.
For example, given standard PATH settings, just do:
# ln -s /usr/bin/eatmydata /usr/local/bin/aptitude
and enjoy sync-free aptitude system-wide.
AUTHOR
The eatmydata wrapper around libeatmydata LD_PRELOAD library was written by Modestas Vainius <modax@debian.org>
November 2010 eatmydata(1)