Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Using multiple java versions in unix Post 82692 by rein on Monday 5th of September 2005 10:44:21 AM
Old 09-05-2005
If I understand it corectly you are using a global JAVA_HOME environment variable. You could override this in the .profile file of the user account under which the application is running, or create a special user account for this application.

export JAVA_HOME=/path/to/java/bin

This way other applications aren't affected by it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What different versions of UNIX are there?

Aside from the normal Linux distros, OS X, and the BSDs, what other forms of UNIX are there? I want to try one on a very old 75mhz box I have. Thanks in advance. (3 Replies)
Discussion started by: AMDPwred
3 Replies

2. UNIX Desktop Questions & Answers

Need to know all versions of Unix

:confused: What are some of the most popular versions of Unix and why? (2 Replies)
Discussion started by: jpawlicki2
2 Replies

3. Shell Programming and Scripting

How to manage multiple versions of a set of shell and SQL script utilities

Hi all --- I have the need to manage multiple versions of a set of utility scripts -- both shell and SQL and other .dat files. I am wondering if anyone out there knows of a good way to "PATH" to SQL and text files in a way similar to how PATH facilitates finding executables in a pre-specified... (2 Replies)
Discussion started by: DennisB
2 Replies

4. UNIX for Dummies Questions & Answers

how to install new java versions to 264 version4.0 alpha

I wrote a java code and compiled it using j2sdk 1.4.2 version. But i have to port those to a unix machine in which a very old version of unix has installed. say unix 264 version4.0 alpha. And the default java version that comes with that unix version is also very old and it is java version... (0 Replies)
Discussion started by: rasa_still_here
0 Replies

5. UNIX for Advanced & Expert Users

How to execute multiple unix commands in one session from java

Hi, Iam trying to code in java and wanted to run the commands in the Unix remote servers. I have the following code to run multiple GREP commands in a single session. But when i execute this, the first command executes successfully, whereas from the next line it says "Exception Occured... (1 Reply)
Discussion started by: gravi2020
1 Replies

6. Linux

Compiling with multiple versions of a library

Hello! I have a set of headers and libraries I want to use but they are mixed with ones I do not want to use. They are part of some official stuff, so I cannot modify them while begging and pleading for weeks. These headers and libraries are located here /long/official/path/to/include... (0 Replies)
Discussion started by: gobi
0 Replies

7. UNIX and Linux Applications

install multiple versions of firefox in linux

Since apt-get and yum won't let you install multiple versions of firefox I will explain how to here. 1. Go to this page and decide which version of firefox you want. ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ I used this one. ... (0 Replies)
Discussion started by: cokedude
0 Replies

8. UNIX for Dummies Questions & Answers

Patches - why multiple versions?

Hi just wondering really ...... I've done a showrev -p and am somewhat surprised to see apparently multiple different versions of the same patches ...... 112161-02 112161-03 112161-04 It's my understanding that a newer revision of a patch , -04 in this case supercedes all previous... (2 Replies)
Discussion started by: Martincorneuk
2 Replies

9. Red Hat

Installing multiple versions of same package.

I need to install a older version of gnupg but not delete the current version of gnup2 on RHEL 6.4. What would be the correct syntax to install this? Tried to install and relocate it and still getting conflicts. aXXXXXX:root# rpm -ivh /root/rpmbuild/RPMS/x86_64/gnupg-1.4.16-1.x86_64.rpm... (2 Replies)
Discussion started by: soupbone38
2 Replies

10. UNIX for Advanced & Expert Users

How does extundelete handle multiple versions of the same inode?

Hi, I noticed a weird behavior in extundelete way to choose the filename to which it will restore a given inode. Here is an example : root@rescue:~# for after in '' 0 740 741 $(date -d 'now - 1 year' +%s); do rm -rf RECOVERED_FILES/; echo -e "$(date -d@$after 2> /dev/null || echo No... (4 Replies)
Discussion started by: chebarbudo
4 Replies
PEGASUS-TC-CONVERT(1)													     PEGASUS-TC-CONVERT(1)

NAME
pegasus-tc-converter - A client to convert transformation catalog from one format to another format. SYNOPSIS
pegasus-tc-converter [-Dproperty=value...] [-v] [-q] [-V] [-h] [-I fmt] [-O fmt] [-N dbusername] [-P dbpassword] [-U dburl] [-H dbhost] -i infile[,infile,...] -o outfile DESCRIPTION
The tc-convert program is used to convert the transformation catalog from one format to another. Currently, the following formats of transformation catalog exist: Text This is a easy to read multi line textual format. A sample entry in this format looks as follows: tr example::keg:1.0 { site isi { profile env "JAVA_HOME" "/bin/java.1.6" pfn "/path/to/keg" arch "x86" os "linux" osrelease "fc" osversion "4" type "installed" } } File This is a tuple based format which contains 6 columns. RESOURCE LFN PFN TYPE SYSINFO PROFILES A sample entry in this format looks as follows isi example::keg:1.0 /path/to/keg INSTALLED INTEL32::LINUX:fc_4: env::JAVA_HOME="/bin/java.1.6" Database Only MySQL is supported for the time being. OPTIONS
-Dproperty=value The -D option allows an experienced user to override certain properties which influence the program execution, among them the default location of the user's properties file and the PEGASUS_HOME location. One may set several CLI properties by giving this option multiple times. The -D option(s) must be the first option on the command line. CLI properties take precedence over the file-based properties of the same key. -I fmt, --iformat fmt The input format of the input files. Valid values for the input format are: File, Text, and Database. -O fmt --oformat fmt The output format of the output file. Valid values for the output format are: File, Text, and Database. -i infile[,infile,...] --input infile[,infile,...] The comma separated list of input files that need to be converted to a file in the format specified by the --oformat option. -o outfile, --output outfile The output file to which the output needs to be written out to. Other Options -N dbusername, --db-user-name dbusername The database user name. -P dbpassword, --db-user-pwd dbpassword The database user password. -U dburl, --db-url dburl The database url. -H dbhost, --db-host dbhost The database host. -v, --verbose Increases the verbosity of messages about what is going on. By default, all FATAL ERROR, ERROR , CONSOLE and WARNINGS messages are logged. -q, --quiet Decreases the verbosity of messages about what is going on. By default, all FATAL ERROR, ERROR , CONSOLE and WARNINGS messages are logged. -V, --version Displays the current version number of the Pegasus Workflow Planner Software. -h, --help Displays all the options to the pegasus-tc-converter command. EXAMPLE
Text to file format conversion pegasus-tc-converter -i tc.data -I File -o tc.txt -O Text -v File to Database(new) format conversion pegasus-tc-converter -i tc.data -I File -N mysql_user -P mysql_pwd -U jdbc:mysql://localhost:3306/tc -H localhost -O Database -v Database (username, password, host, url specified in properties file) to text format conversion pegasus-tc-converter -I Database -o tc.txt -O Text -vvvvv AUTHORS
Prasanth Thomas Pegasus Team http://pegasus.isi.edu 05/24/2012 PEGASUS-TC-CONVERT(1)
All times are GMT -4. The time now is 06:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy