10 More Discussions You Might Find Interesting
1. Solaris
Hi Friends
I need to add path to CLASSPATH in weblogic start
OS is SunOS dcuatapp04 5.11 11.3 sun4v sparc sun4v
I follow instructions given in below link. but even startup log shows the new path it does not load the jar file.
how can i fix this
Oracle WebLogic Server 12.1.3 Developer... (6 Replies)
Discussion started by: ded325
6 Replies
2. UNIX for Advanced & Expert Users
What is the proper way to set your java classpath? (0 Replies)
Discussion started by: cokedude
0 Replies
3. 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
4. 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
5. Programming
I have several jar files in a specific folder, but I can't get javac to understand it.
How do I set the classpath for javac. It is NOT the same classpath as the java command. And it's not enough with one jar file. I have several. (1 Reply)
Discussion started by: locoroco
1 Replies
6. 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
7. Programming
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... (1 Reply)
Discussion started by: PRKS
1 Replies
8. UNIX for Advanced & Expert Users
while running one script
am gettng below error
ERROR (class path) : /sbcimp/run/pkgs/MsgTechJavaUtils/1.4/lib/MsgTechUtils.jar does not exist.
means need to set the class path in env i guess
can someone suggest how to set this in redhat 5.3 ? (1 Reply)
Discussion started by: mail2sant
1 Replies
9. 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
10. Shell Programming and Scripting
i have written shell script that script has path to java programwhen irun this script in terminal i get the output but when irun in cron it gives me eror.plz send me code to set classpath
#! /bin/bash
javac Copy.java
/usr/bin/java Copy
plz help me out
how should i write classpath... (1 Reply)
Discussion started by: sari
1 Replies
java-functions(7) RPM Java packaging java-functions(7)
NAME
java-functions - Functions library for Java applications. Written for the JPackage Project <http://www.jpackage.org/>:
SYNOPSIS
set_jvm()
Set the java virtual machine. Use a JAVA_HOME if defined, or try to find it from java command
set_classpath()
Set the classpath - this functions requires a valid JAVA_HOME, JAVACMD, and JAVA_LIBDIR. JARs could be specified as an argument, or
via ADDITIONAL_JARS variable.
set_javacmd()
set the JAVACMD variable. Options should be passed via JAVACMD_OPTS variable.
set_flags()
set FLAGS variable. They could be specified as an argument, or via ADDITIONAL_FLAGS variable.
set_options()
set OPTIONS variable. They could be specified as an argument, or via ADDITIONAL_OPTIONS variable.
run()
run the application. It executed a following command. If VERBOSE is defined, then it prints the command to stdout.
exec $JAVACMD $FLAGS -classpath $CLASSPATH $OPTIONS $MAIN_CLASS "$@"
set_jvm_dirs()
set JVM-related directories (JVM_LIBDIR, JAVA_VERSION, JAVAVER_LIBDIR and JAVAVER_JNIDIR variables). Requires a correct JAVA_LIBDIR,
JAVA_HOME and JAVA_CMD.
link_jar_repository()
links a jar repository. Options could be found in build-jar-repository(1)
find_jar()
finds a specific extention (jar or directory). Requires a correct JAVA_LIBDIR, JAVAVER_LIBDIR and JVM_LIBDIR. Used by find-jar(1) com-
mand.
do_find_jar()
core routine used by find_jar()
check_java_env()
checks java environment - the JAVA_HOME, JAVACMD, JAVA_LIBDIR, JNI_LIBDIR variables.
DESCRIPTION
This is a library of generic shell functions which should be used on jpackage.org compatible distributions.
FILES
/use/share/java-utils/java-functions
shell script functions library for Java applications
/etc/java/java.conf
system-wide Java configuration file
~/.java/java.conf
user's Java configuration
SEE ALSO
Regular Manual Pages
build-jar-repository(1)
find-jar(1)
java.conf(5)
jpackage-utils(7)
AUTHORS
Guillaume Rousse <guillomovitch@sourceforge.net>
Ville Skytta <scop at jpackage.org>
David Walluck <david@jpackage.org>
Nicolas Mailhot <Nicolas.Mailhot at laPoste.net>
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
jpackage-utils 1.7.5 February 2009 java-functions(7)