Hey guys! This is my first post, as im new here :S
I have a simple problem for a big program.
We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has to do with the syntax, as the person who made it is not a linux pro. I don't know MUCH about shell scripts, but I'm pretty sure I know where the error lies.
Our Script:
The Error:
What I think the problem is:
Thank you for ALL of your help!
Hey fellow bit pushers,
I have been seeing an odd problem on a few of my systems and was wondering if any of you have seen it on your systems and possibly know why it happens.
We have a custom model script for a printer on our systems. This model script is just a standard ksh script... (2 Replies)
Hi all...
here is my question: in the following, will the `cd $ref_ntp` work?
for i in `cat $fic`
do
{
echo " "
echo ================$i=============================
OS=`$CMD -s $i "uname"`
case $OS in
SunOS)
ref_ntp=/ref/ntp/SUN
;;
HP-UX)
ref_ntp=/ref/ntp/HP
;;
esac
... (2 Replies)
:D my first question is how can envoke filename expansion from within a shell script.. forinstance if i execute the script and it asks for a specific directory that i would like to cd to, how can i get the script to use the same file name expension as the command line..
my second question is how... (3 Replies)
I want to run a shell script in such a manner so that if i will run that script on one place than changes related to that will reflect on all the servers in which i want.Is it possible to write such kind of script?Please respond me as early as possble because it is very urgent for me. (2 Replies)
Can you help me with my code?
I wrote a Java program and ran it in gdb, the debugger said that :
(gdb) run handhelditems 1 1000
Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000
Program received signal SIGPWR, Power fail/restart. (2 Replies)
Hi
I have an input to a file. I want the script to return it formatted
the input is a number, say ,
1234567895 and the output should be 21 43 65 87 59 ,ie, the pair of two digits should be reversed.
How can I do this using a shell script? (1 Reply)
Hi All,
this small script is written to recognize user input character.. it is in small case .. upeer case or is a number... but when i input first capital letter say A.. it always gives small character.... what is the problem.
#!/bin/bash
echo "Enter the character"
read a
case $a in
)... (2 Replies)
Hi all,
Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code--
Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
I am new in shell script.I want to write a shell script to read username and password from file and compare it with the username and password which is entered by the GUI application. (1 Reply)
Hey guys im new to the whole linux and scripting community and am trying to get what (I think) should be a simple script to work.
I understand pretty much everything up to line 20, which is where im getting the following errors:
line 20: '
line 21: -le: command not found
Any help or... (5 Replies)
Discussion started by: xburningphoenix
5 Replies
LEARN ABOUT SUSE
macros.jpackage
MACROS.JPACKAGE(7) RPM Java packaging MACROS.JPACKAGE(7)NAME
macros.jpackage - RPM macros for Java packagers and developers. Written for the JPackage Project <http://www.jpackage.org/>:
SYNOPSIS
%_jvmdir
Root directory where all Java VMs/SDK/JREs are installed.
%_jvmjardir
Root directory where all Java VMs/SDK/JREs expose their jars
%_jvmprivdir
Root directory for all Java VM/SDK/JRE's private things.
%_jvmlibdir
Root directory for all architecture dependent parts of Java VM/SDK/JRE's
%_jvmdatadir
Root directory for all architecture independent parts of Java VM/SDK/JRE's
%_jvmsysconfdir
Root directory for all configurations parts of Java VM/SDK/JRE's
%_jvmcommonlibdir
Root directory for all common architecture dependent parts of Java VM/SDK/JRE's
%_jvmcommondatadir
Root directory for all common architecture independent parts of Java VM/SDK/JRE's
%_jvmcommonsysconfdir
Root directory for all common configurations parts of Java VM/SDK/JRE's
%_javadir
Directory where arch and version independent jars are installed.
%{_javadir}-ext
Directory where version dependent jars are installed.
%_{javadir}
Directory where arch and version independent jars are installed.
%{_javadir}-x.y.z
Directory where jars for Java standard x.y.z (usually symlinks to %{_javadir}-ext) are installed.
%{_javadir}-utils
Directory where Java-related scripts are installed.
%_jnidir
Directory where arch-specific (JNI) version-independent jars are installed.
%_{jnidir}-ext
Directory where arch-specific (JNI) version-dependent jars are installed.
%_{jnidir}-x.y.z
Directory where arch-specific (JNI) jars for Java standard x.y.z (usually symlinks to %{_jnidir}-ext) are installed.
%_javadocdir
Root directory where all javadoc is installed.
%_mavendepmapdir
Directory for maven depmaps.
%_mavendepmapfragdir
Directory for maven depmaps.
%java_home
Current default JVM home. Calls a set_jvm() from java-functions(7).
%ant Default ant command.
%jar Default jar command.
%java
Default java command. Calls a set_jvm() from java-functions(7).
%javac
Default javac command.
%javadoc
Default javadoc command.
%add_jvm_extension
add_jvm_extension should be used in %install by extension packages to declare what extension jars they provide.
%add_to_maven_depmap()
add_to_depmap adds an entry to the depmap. The arguments are: %1 the original groupid
%2 the original artifact id
%3 the version
%4 the new groupid
%5 the new artifactid
%update_maven_depmap()
update_maven_depmap updates the main maven depmap
%jpackage_script()
A standard script fot running jpackage positive applications. %1 main class
%2 flags
%3 options
%4 jars (separated by ':')
%5 the name of script you wish to create
DESCRIPTION
This is a library of generic rpm macros which should be used on jpackage.org compatible distributions.
FILES
/etc/rpm/macros.jpackage
Definitions of macros. For additional informations look at this file.
/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
java.conf(5)java-functions(7)jpackage-utils(7)AUTHORS
David Walluck <david@jpackage.org>
Ville Skytta <scop at 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 MACROS.JPACKAGE(7)