java starter sh



  • 1. When to use stderr, and when stdout?
    Hello, Is there any convention as to what messages should go to stdout and what to stderr? More specifically, where should I log errors that do not prevent the program from finishing what it is doing? Regards, Angel Tsankov
  • 2. Can tcgetattr() get the terminal screen size?
    Hi One of the ways of getting a terminals size is doing using ioctl() with the TIOCGWINSZ option but this is non portable AFAIK. Is there a way of getting the size using the tcgetattr() function? I can't find a reference to this functionality in the man page or online. Thanks for any help B2003
  • 3. Header file for size64_t?
    Hi everyone, in which header-file will I find the definition (typedef) for type size64_t? Cheers Bernd

java starter sh

Postby Jean Pierre Daviau » Sun, 24 Dec 2006 05:17:27 GMT

Hi everybody,

I dont really understand much on Unix.
Is there an emulator for windows on which I could practice?

Are the sh files double clickable on Unix?

================  ===========================

if [ -z "$JAVA_HOME" ]
        echo "  ERROR: JAVA_HOME environment variable not found."
        echo ""
        echo "  Please set JAVA_HOME to the Java JDK installation
        exit 1

echo "java -jar posteprops.jar PosteProps"
====================  end  ==========================
Thanks for your attention.

Jean Pierre Daviau

Re: java starter sh

Postby Kohn Emil Dan » Sun, 24 Dec 2006 07:07:08 GMT

Bad for you ;-)

cygwin gives a fairly good emulation of the UNIX environment on Windows.
You can download it from:


cygwin includes most utilities you might find in a typical UNIX 
installation and a library which emulates most UNIX/POSIX system calls.

Unix has no concept of 'double clickable files'. However many 
X-Windows desktop environments (e.g. GNOME or KDE) which do run on UNIX 
provide features similar to shortcuts on Windows. A shortcut can indeed 
point to a shell script (which might have the .sh extension).


Similar Threads:

1.[News] Windows 7 Starter is a non-starter

2.Windows 7 Starter is a non-starter

3.SH-3 (SH-linux) target board (Problem with sh-ipl+g)


Anyone who had used a SH-3 target board? Please email me.

I have problem with the IPL (Initial Program Loader) with my target board
and my linux OS PC. I cant see the sh-ipl+g load up. Why is it so?
Could someone please share something with me? 

Thank you very much!! to use ./ instead of sh ./

Hi, I feel a little silly asking this question, I searched on Google
and Google Groups but could not find an answer... I'm hoping someone
here can help me out.

When I had Debian installed on a little test PC I used to execute
scripts using "./"

Recently I upgraded my test server and installed Red Hat 8.0, but now
to execute scripts I need to use "sh ./"

As a result some of the applications I was using no longer work. Can
anyone explain how to execute scripts without the sh, or point me to a
relevant resource on the Internet.


5.Good starter book for Java ?

What is a good starter book for Java?  I have an RPG background and
have done a lot of CGI work but I am now in the mood to explore Java.
Do you have to use Websphere to deploy/run the objects created with

6. Vista system requirements ( Java quick starter)

7. [OT] Vista system requirements ( Java quick starter)

8. Java Quick Starter

Return to unix


Who is online

Users browsing this forum: No registered users and 99 guest