08-08-2008
Thanks, That worked fine for one external jar file. But wen i am using more than one external jar file, i get the following error.
Note: my java program Inbound.java needs 2 jar files jms.jar and com.ibm.mq.jar
and i have jdk 1.4 installed in UNIX server [cant change to JDK 6 :-( ], so i have to go with specifying all the jar files path in command prompt
/u/up11/sample/request:>javac -classpath /u/up11/sample/jarfiles/jms.jar;/u/up11
/sample/jarfiles/com.ibm.mq.jar Inbound.java
javac: no source files
/u/up11/sample/jarfiles/com.ibm.mq.jar: FSUM9209 cannot execute: reason code = 5b4c0002: EDC5111I Permission denied.
what is the reason for this error ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.
/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System
But when I run it on the command line it unzips the file fine.
Does anybody know why this... (2 Replies)
Discussion started by: ctcuser
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Folks,
I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.
Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an... (1 Reply)
Discussion started by: Slanter
1 Replies
3. UNIX for Dummies Questions & Answers
Hi...
I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System.
Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way?
Dll-file:... (3 Replies)
Discussion started by: Scorp-D
3 Replies
4. Shell Programming and Scripting
Hi all,
I have a Unix script that will compile all Java files in a sub folder as follows:
find . -name "*.java" -print -exec $JAVA_HOME/bin/javac -cp .:$CLASSPATH '{}' \;
I would like to enhance it to only compile those Java files who:
1.) Have no class file
2.) Have a class file... (1 Reply)
Discussion started by: Annorax
1 Replies
5. Ubuntu
Hi,
how to add external jar file in jsp application on eclipse.
Thanks
SN:confused: (0 Replies)
Discussion started by: snallusami
0 Replies
6. Shell Programming and Scripting
Hi,
I have created a Shell Script and invoke through java using Process Builder
It's working fine, if (Shell script file ) in the same directory as java file.
By Problem:
How to run the Shell Script file( resides in external directory) using java. What configuration i have... (1 Reply)
Discussion started by: nanthagopal
1 Replies
7. Programming
Hello!
This is my first post, and I just learned what UNIX was this week. For a JAVA programming class I am taking, I must be able to create a directory in UNIX, use the nano command to create a JAVA program, compile it, and then run it on the command prompt using the java command.
For some... (5 Replies)
Discussion started by: UNdvoItX
5 Replies
8. Shell Programming and Scripting
I have a .jar placed in my Unix directory. The .jar creates a .csv file .I want to execute the .jar and place the output file in a target Unix directory.
The Unix Script is as follows. The issue that i am facing is that the file is not being placed in the REPORTDIR=/cdunix/IQNavigator/wrk instead... (4 Replies)
Discussion started by: pankajkargeti12
4 Replies
9. Shell Programming and Scripting
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies
LEARN ABOUT SUSE
jpackage-utils
jpackage-utils(7) RPM Java packaging jpackage-utils(7)
NAME
jpackage-utils - Utilities, macros and other files for the JPackage Project <http://www.jpackage.org/>:
SYNOPSIS
build-classpath
build the Java classpath in a portable manner
build-jar-repository
build a jar repository in a portable manner
rebuild-jar-repository
rebuild a jar repository in a portable manner (after a jvm change...)
build-classpath-directory
build the Java classpath from a directory
diff-jars
show jar content differences
jvmjar
install jvm extensions
create-jar-links
create custom jar links
clean-binary-files
remove binary files from sources
check-binary-files
check for presence of unexpected binary files
DESCRIPTION
The JPackage Project has two primary goals:
- To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications.
- To establish an efficient and robust policy for Java software packaging and installation.
We focus on free and open source software whenever possible. For convenience, we also provide non-free packages without the restricted
source code.
Our RPMs are generic in that they should work on any RPM based Linux distribution (Mandriva, Red Hat, SuSE, others). Other packaging format
suggestions are welcome too.
FILES
/use/share/java-utils/java-functions
shell script functions library for Java applications
/etc/java/jpackage-release
string identifying the currently installed JPackage release
/etc/java/java.conf
system-wide Java configuration file
~/.java/java.conf
user's Java configuration
/etc/rpm/macros.jpackage
RPM macros for Java packagers and developers
SEE ALSO
Regular Manual Pages
build-classpath(1)
build-classpath-directory(1)
build-jar-repository(1)
check-binary-files(1)
clean-binary-files(1)
create-jar-links(1)
diff-jars(1)
find-jar(1)
jvmjar(1)
rebuild-jar-repository(1)
rebuild-security-providers(1)
java.conf(5)
Documentation
Following files are located in your standard documentation directory
HEADER.JPP
A standard header with license for spec files of JPackage Project
clean-binary-files.txt
A further documentation for check-binary-files(1), clean-binary-files(1) and create-jar-links(1) commands
httpd-javadoc.conf
Example JPackage javadoc configuration snippet for Apache
jpackage-1.5-policy.xhtml
JPackage Java infrastructure design and packaging policy
jpackage-utils-policy
JPackage packaging (naming) policy
AUTHOR
Written by the JPackage Project
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
jpackage-utils 1.7.5 February 2009 jpackage-utils(7)