12-24-2009
regarding classpath java
Hi,
I have a below command....
$JAVA_HOME/bin/java -cp "/usr/orabase/product/10.2.0/lib:/usr/java/javajar/common/sched.jar:/usr/orabase/product/10.2.0/jdbc/lib/ojdbc14_g.jar:/usr/orabase/product/10.2.0/jdbc/lib/classes12.jar" com.abrt.smart.Smart
I want to know where the Smart.class is located. infact i want to know where the jar file is located...
Could anyone help...
Thanks..
10 More Discussions You Might Find Interesting
1. Programming
I have a java classpath running inside of a unix shell script. During my testing it will error with lines that show an example like this below.
java.io.FileNotFoundException error
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129),
... (2 Replies)
Discussion started by: mmcds
2 Replies
2. UNIX for Dummies Questions & Answers
This question is realted to UNIX and Java.
I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS.
Is the command 'export PATH=...' the way to do it?
Thanks.
Duplicate post (0 Replies)
Discussion started by: Rachel Ross
0 Replies
3. Programming
This question is realted to UNIX and Java.
I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS.
Is the command 'export PATH=...' the way to do it?
Thanks. (4 Replies)
Discussion started by: Rachel Ross
4 Replies
4. Web Development
Hi All,
I'm trying to play around with Java Servlets. I have a apache web server running on Solaris. And I'm trying to understand which file I add the JAVA CLASSPATH too so that when apache starts up it will have access to mysql interface libraries etc.
Could some one please tell me?
... (0 Replies)
Discussion started by: fishman2001
0 Replies
5. Ubuntu
Saw an error while setting up an application called i2phex:
# ./run.sh
java.lang.RuntimeException: Failed to initialize phex.net.repres.i2p.I2PPresentationManager
at phex.common.ManagerController.initializeManagers(ManagerController.java:78)
at phex.Main.main(Main.java:161)After... (0 Replies)
Discussion started by: Israel213
0 Replies
6. Programming
Hello,
ABC question as I could not get a direct answer: How to locate the default IO class of JAVA? My question was triggered by the row in most java programimport java.io.* as I am very curious where the io class is located in my Mint14 (Ubuntu12.10). I am aware it is similar to use DBI in PERL,... (1 Reply)
Discussion started by: yifangt
1 Replies
7. Shell Programming and Scripting
Hi,
When I login to my HP-UX and fire the "set" command I see that the weblogic 9.2 classpath is already set.
However, I wish to override the classpath to weblogic version 10.3
I have a script call setWLSEnv.sh that has the desired classpath.
Thus, in my unix script i write
.... (6 Replies)
Discussion started by: mohtashims
6 Replies
8. UNIX for Advanced & Expert Users
What is the proper way to set your java classpath? (0 Replies)
Discussion started by: cokedude
0 Replies
9. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
10. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
As a excercise I have to compile a program (Hello2.java) with a class file (HelloText.java) in another directory. (As you seen in the screenshot)
Iīm setting a PATH and a CLASSPATH (system variables). Itīs working without a... (2 Replies)
Discussion started by: MenschTown
2 Replies
LEARN ABOUT DEBIAN
mh_linkjar
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)