04-02-2002
Thanks for responding. This is a great help. When I type "whereis java", I get: java:
That's it. I don't get a location like /opt/java/bin/java. I don't really understand why it says that, instead of the location of the java executable. What does java: mean?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a problem with the execution of a ksh as deamon on linux. I explain you first the context.
We have developped a Java program that execute every minutes an external (that we don't have developped) program with a config file in parameter.
The Java program is runned as deamon with a perl... (0 Replies)
Discussion started by: adrian.mihai
0 Replies
2. OS X (Apple)
Hi Masters,
I am runing a java application on Mac os x10.4, java version 1.5. I had this errors regarding chinese language issue. Could anyone have a hint? Thanks a ton.
> java -classpath clinic.jar com.scsl.main.MyClinic
Exception in thread "main" java.util.MissingResourceException: Can't... (0 Replies)
Discussion started by: mskcc
0 Replies
3. Programming
Hi all,
First visit to this forum, hope I've chosen an appropriate place to post this.
I have a Java-based application that uses native C++ libraries (built with g++-4.0) for specialized, computation-intensive routines.
Within the native code, I need to catch exceptions thrown inside... (0 Replies)
Discussion started by: QED
0 Replies
4. Shell Programming and Scripting
Hi,
My operating system is centOS. I am running a java process on this os. But my process is killed automatically before completion. The timing of process killing is uncertain. Please help me.
Thanks in advance, (0 Replies)
Discussion started by: Mrs. Deswal
0 Replies
5. Shell Programming and Scripting
Hello everybody, I have made a java program which runs when i do : java telemesures But when i want to put it in a cron i do /j2sdk1.4.1/bin/java -cp :/web/WEB-INF/classes/Dany4/ telemesures i have got Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ... (2 Replies)
Discussion started by: totollix
2 Replies
6. Programming
Hi java programmers
I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error.
----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\HelloWorldApp.java
----jGRASP wedge2 error: command "javac" not found.
---- This command... (1 Reply)
Discussion started by: repinementer
1 Replies
7. Programming
In a default package, there are BankTest.java and package bank wich contains Account.class .
// File: BankTest.java
import bank.*;
public class BankTest {
public static void main(String args)
{
Account account;
...
}
}
Trying to compile BankTest.java,... (0 Replies)
Discussion started by: Luke Bonham
0 Replies
8. Programming
May I know how to get a string with space by using scanner class in java? (0 Replies)
Discussion started by: eel
0 Replies
9. Programming
My desired output is
run:
for this 1
for this 2
for this 3
for this 4
for this 5
for this 1,2
1->2
for this 2,3
2->3
for this 3,4
3->4
for this 4,5
4->5
for this 1,2,3
1->2,3 (2 Replies)
Discussion started by: vaibhavkorde
2 Replies
10. Programming
Hi,
I am trying to install java7.6 on redhat 6.2 but got the below error message. In fact this error comes up for all the supported OS of JDK 7 and JRE 7. I am running this as root and I dont have any other Java version installed.
# rpm -i jre-7u6-linux-x64.rpm
Unpacking JAR files...
... (5 Replies)
Discussion started by: nvk_vinoth
5 Replies
LEARN ABOUT SUSE
git-check-attr
GIT-CHECK-ATTR(1) Git Manual GIT-CHECK-ATTR(1)
NAME
git-check-attr - Display gitattributes information
SYNOPSIS
git check-attr attr... [--] pathname...
git check-attr --stdin [-z] attr... < <list-of-paths>
DESCRIPTION
For every pathname, this command will list if each attribute is unspecified, set, or unset as a gitattribute on that pathname.
OPTIONS
--stdin
Read file names from stdin instead of from the command-line.
-z
Only meaningful with --stdin; paths are separated with a NUL character instead of a linefeed character.
--
Interpret all preceding arguments as attributes and all following arguments as path names. If not supplied, only the first argument
will be treated as an attribute.
OUTPUT
The output is of the form: <path> COLON SP <attribute> COLON SP <info> LF
<path> is the path of a file being queried, <attribute> is an attribute being queried and <info> can be either:
unspecified
when the attribute is not defined for the path.
unset
when the attribute is defined as false.
set
when the attribute is defined as true.
<value>
when a value has been assigned to the attribute.
EXAMPLES
In the examples, the following .gitattributes file is used:
.ft C
*.java diff=java -crlf myAttr
NoMyAttr.java !myAttr
README caveat=unspecified
.ft
o Listing a single attribute:
.ft C
$ git check-attr diff org/example/MyClass.java
org/example/MyClass.java: diff: java
.ft
o Listing multiple attributes for a file:
.ft C
$ git check-attr crlf diff myAttr -- org/example/MyClass.java
org/example/MyClass.java: crlf: unset
org/example/MyClass.java: diff: java
org/example/MyClass.java: myAttr: set
.ft
o Listing an attribute for multiple files:
.ft C
$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java
org/example/MyClass.java: myAttr: set
org/example/NoMyAttr.java: myAttr: unspecified
.ft
o Not all values are equally unambiguous:
.ft C
$ git check-attr caveat README
README: caveat: unspecified
.ft
SEE ALSO
gitattributes(5).
AUTHOR
Written by Junio C Hamano <gitster@pobox.com[1]>
DOCUMENTATION
Documentation by James Bowes.
GIT
Part of the git(1) suite
NOTES
1. gitster@pobox.com
mailto:gitster@pobox.com
Git 1.7.1 07/05/2010 GIT-CHECK-ATTR(1)