Problem installing Java SDK under cygwin
I'm having problem with installation of Java SDK package.
The problem looks like this:
--
Do you agree to the above license terms? [yes or no]
yes
trap: bad signal HUP
Unpacking...
Checksumming...
Extracting...
./install.sfx.3192: 1: Syntax error: "(" unexpected
Failed to extract the files. Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.
--
I tried many times and everytime I got the same problem. I have no idea what is wrong with it.
I checked the size of the downloaded file and it is fine. How do you guys install the Java SDK under cygwin?
Please help me out!
> How do you guys install the Java SDK under cygwin?
I don't.
What makes you think you can?
And why don't you just install it via windows?
If you don't install Java SDK for cygwin, how do you use java under cygwin then?
Do you specify the location of windows SDK? How do you do that?
I have cygwin installed at d:\cygwin, java sdk installed at d\cygwin\java in windows. What do I need to do to run Java under cygwin?
I'm not so familiar with cygwin, I will really appreciate it if you can show me the way to work around it.
Thanks a lot.
You don't need cygwin to run Java, and you shouldn't need to run it any differently under cygwin than without it. If you do, that would only be a reason to discard cygwin. You're better off with an IDE in my opinion.
ejpa at 2007-7-28 20:14:05 >

> If you don't install Java SDK for cygwin, how do you
> use java under cygwin then?
cygwin doesn't exclude you from using everything else on windows.
> Do you specify the location of windows SDK? How do
> you do that?
Add it to the path just like in windows.
> I'm not so familiar with cygwin, I will really
> appreciate it if you can show me the way to work
> around it.
Either you need to get familar or don't use cygwin.
For starters all unix shells have their own unique and slightly different ways of handling environment variables. To use cygwin you need to understand how it does that (and thus how to set up the path and perhaps shared libraries path.)