Java on Cygwin (was: TclX and J2SDK)

2003-02-07 Thread David P. Caldwell
Paulus: You wrote: ** I also plan to install J2SDK on Cygwin, can anybody help me with this? I have downloaded the bin file from SUN website, what next? For Java, you'll need to install the Windows version of the SDK, not the Linux version. Since the executables (javac, java, etc.) are

RE: javac on cygwin

2003-01-06 Thread David P. Caldwell
Igor: Actually, the custom java.io.File wrapper is very useful in that it's orthogonal to the purpose of my scripts and takes care of one of the caveats (namely, the filenames passed to Java programs). Actually, the way it works now, the programs I write have to be Cygwin-aware (I don't have a

RE: javac on cygwin

2003-01-05 Thread David P. Caldwell
. Caldwell; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: javac on cygwin On Sat, 4 Jan 2003, David P. Caldwell wrote: Kevin: Ok, I've searched for articles on getting a java compiler working on cygwin. I got very vague info. I've got the java JDK 1.4.1 from java.sun.com. Now what

Re: javac on cygwin

2003-01-04 Thread David P. Caldwell
Kevin: Ok, I've searched for articles on getting a java compiler working on cygwin. I got very vague info. I've got the java JDK 1.4.1 from java.sun.com. Now what do I do? Not sure what your background is, so I'm not sure how to answer. Right now, you could be someone who doesn't know Java,

Updated Java-JNI/Cygwin resources available

2002-12-26 Thread David P. Caldwell
Hello, everyone. I wanted to let you all know that I've updated our Java/Cygwin page. I've incorporated some changes over the last year: * Feedback from readers and addition of a FAQ, * Changes to Cygwin installation (notably defaulting to a smaller base install), * Release of JDK 1.4, JNI

FW: Invoke JVM Problem

2002-05-03 Thread David P. Caldwell
. -Original Message- From: David P. Caldwell [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 9:53 AM To: Luca Landi Subject: RE: Invoke JVM Problem Luca: The quick answer is I don't know, and I have to go and walk the dog. :) I don't have Windows XP, so I can't replicate the problem

Reading console input from Java under Cygwin shell (was Re: inputstream!)

2002-02-25 Thread David P. Caldwell
Pramod: if i write a simple java program that uses a BufferedReader reader object wrapped from System.in and then try to read a line from user and then echo it back, cygwin for some reason already has stuff on the stream and so without waiting for the user to type something in the program

2nd Cygwin/Java/JNI tutorial available

2002-02-13 Thread David P. Caldwell
Hello, everyone: A month or so back, I posted a tutorial on using Java JNI with Cygwin tools. Some folks told me they found it useful, so I've written a second article on Cygwin/Java/JNI. The first article was on how to use Cygwin to build Java programs which use native methods. The new

Cygwin/Java-JNI tutorial available (plus gcc question)

2002-01-08 Thread David P. Caldwell
I was having trouble figuring out how to build Java/JNI programs with Cygwin. There were a number of threads in the mailing list about it, and some were helpful, but it still took a great deal of slogging. After I got it working, I put a tutorial on the web (http://www.inonit.com/cygwin/) on

JNI/gcc problem (solved)

2002-01-08 Thread David P. Caldwell
/include/win32 -Wl,--add-stdcall-alias -shared -o HelloWorld.dll HelloWorld.c I'll update the online version of the tutorial as soon as I can. -- David. David P. Caldwell wrote: I was having trouble figuring out how to build Java/JNI programs with Cygwin. There were a number of threads