12-18-2001
You might also want to consider ...
export CLASSPATH=$CLASSPATH:/opt
this will add /opt to the END of the classpath - i.e. will look in this directory last ....
ALTERNATIVELY
export CLASSPATH=/opt:$CLASSPATH
This will add /opt at the front of the classpath. This will then look here first....can be important if the target file appears in multiple parts of the path....and the files differ - you need to make sure the one you are wanting is earlier in the classpath.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Well first of all I am a real Unix newbie. I am taking a course on it in University. I kind of understand set and setenv but, I think it si something that I should really understand. So I thought that I would try a forum out and see how good you guys really are.
The question:
Execute the... (1 Reply)
Discussion started by: w6u6f
1 Replies
2. Shell Programming and Scripting
Hi
Is someone know about "setenv"? where can i find out this one?
Regards
Myoe (2 Replies)
Discussion started by: myoeminn
2 Replies
3. Shell Programming and Scripting
Hello,
I just want to know ow I can set permanent pathes or whatever using setenv command. I'm using c shell .
regards,
me (1 Reply)
Discussion started by: geoquest
1 Replies
4. UNIX for Dummies Questions & Answers
I never undestood exactly what's the difference between the SET and SETENV commands.
One sets variables visible to all users and the other (SETENV) only to the specific user environment ?
Thanks in advance,
BraZil - thE heLL iS HEre :mad: !!! (2 Replies)
Discussion started by: 435 Gavea
2 Replies
5. Shell Programming and Scripting
Is it possible to set environement variable in a script (for example, perl script) so that the variable will be set after exiting the script - in a father shell. (2 Replies)
Discussion started by: kosta_mirkin
2 Replies
6. Programming
Hi
I have a problem with setenv function in C. I'm calling an .exe of a c program from my shell script. Now, I have to pass a value from the .exe to my shell script. So i have exported an variable in my script. And in the C program I'm setting the variable as
setenv("REC_CNT",rec_cnt,1);
... (7 Replies)
Discussion started by: janemary.a
7 Replies
7. Shell Programming and Scripting
I am having the following environment setup script.
$cat dbenv.sh
#! /bin/csh
#
set history=32
stty sane
setenv ORACLE_HOME=/dboracle/orabase/product/10.1.0.3
set ORACLE_BASE=/dboracle/orabase
set... (2 Replies)
Discussion started by: rahulrathod
2 Replies
8. UNIX for Advanced & Expert Users
helllo every body ..
hope you are having good time programming in unix .
here is a little problem faced me :
setenv("myvar","bla bla",1);
system("myvar=$(grep....));
printf("%s\n", getenv("myvar"));
will print :
bla bla ..
how can i get the value of grep into my program ? ... (7 Replies)
Discussion started by: max_475
7 Replies
9. Solaris
Hi all!
I need to add new environment variable.
e.g. # setenv LD_LIBRARY_PATH "/usr/ucblib:"
#
I check:# env
LD_LIBRARY_PATH=/usr/ucblib:
After rebooting I don't see this variable.
Why don't save this variable?
Thanks. (5 Replies)
Discussion started by: wolfgang
5 Replies
10. Shell Programming and Scripting
i have in c-shell
set value_str ="one three"
set line_seprator = ","
set value_and_sperator = "$value_str$line_seprator"
setenv STRING_CONCAT $STRING_CONCAT$value_and_sperator
and im getting error:
setenv: Too many arguments.
this is... (1 Reply)
Discussion started by: umen
1 Replies
LEARN ABOUT DEBIAN
jh_manifest
JH_MANIFEST(1) Javahelper JH_MANIFEST(1)
NAME
jh_manifest - Adds or/and modifies manifests for jars
SYNOPSIS
jh_manifest [debhelperoptions] [options] jar1 ... jarN
jh_manifest [debhelperoptions] [options]
DESCRIPTION
Javahelper tool to add or update manifests in a jar file. It can be used in two modes. If passed jar files, it will only process these jar
files. Otherwise it will update all jar files in the packages it acts on.
When processing a package, the debhelper(7) exclude option will make jh_manifest ignore matching jar files.
FILES
debian/package.manifest (or debian/manifest)
This file consist of a list of jar files and values to add to their manifests. Values in this file will take precedence over values in
the original manifest (and command line arguments over values in this file).
It is allowed to list a link in this file instead of an actual jar file, provided that the link can be resolved when jh_manifest
processes it.
If a jar file is listed here cannot be found, jh_manifest will print a warning, unless the jar file has been excluded.
As of javahelper >= 0.32, you may add comments in this file. If the line starts with a "#" it is completely ignored.
This file is ignored if jh_manifest is passed jar files via command line.
OPTIONS
-c classpath, --classpath=classpath
Sets the Class-Path attribute of all processed jar files to classpath.
If not passed, then the CLASSPATH environment variable will be used in the given jar file do not have a Class-Path attribute.
-m class, --main=class
Sets the Main-Class attribute to class in all processed jar files.
-o options, --javaopts=options
Sets the Debian-Java-Parameters to options in all processed jar files. This attribute is used by jarwrapper to start java with extra
options (e.g. to make more memory available).
-j /path/to/java/home, --java-home=/path/to/java/home
Sets the Debian-Java-Home attribute to /path/to/java/home in all processed jars. This attribute is used by jarwrapper to determine
which JVM to use.
EXAMPLES
An example debian/manifest file:
# use the symlink so we do not have to update with the next upstream release.
usr/share/java/my.jar:
Class-Path: dep1.jar dep2.jar
Main-Class: some.awesome.Class
usr/share/java/dep2.jar:
Class-Path: dep1.jar
SEE ALSO
debhelper(7)
This program is a part of javahelper and uses debhelper as backend. There are also tutorials in /usr/share/doc/javahelper.
AUTHOR
Niels Thykier <niels@thykier.net>
COPYRIGHT AND LICENSE
Copyright 2010 by Niels Thykier
This tool is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.
0.43 2012-03-12 JH_MANIFEST(1)