Re: Java not starting subprocess with Cygwin X11 Server, only on OS X 10.6 X11

2013-05-28 Thread Larry Hall (Cygwin)
On 5/25/2013 8:01 PM, Phillip Dudley wrote: I am running into an issue with Cygwin X11 Server on Windows 8. Here is the setup I have. I am running CentOS 6.4 on a server that I SSH into and forward a program called MegaMek and MekHQ to my desktop. They are both Java programs. I can SSH into the s

Re: Java alternatives (was Re: Updated: stable compiler package gcc4-4.3.4-3)

2010-01-18 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > On 10/01/2010 21:37, Dave Korn wrote: >> BTW I'm going to ship AWT with the next GCJ, if that's of any interest to >> anyone. It builds and appears to be passing the mauve testsuite, so >> that's probably worth chucking over the wall and letting people start >> playing

Re: Java alternatives (was Re: Updated: stable compiler package gcc4-4.3.4-3)

2010-01-10 Thread Yaakov (Cygwin/X)
On 10/01/2010 21:37, Dave Korn wrote: BTW I'm going to ship AWT with the next GCJ, if that's of any interest to anyone. It builds and appears to be passing the mauve testsuite, so that's probably worth chucking over the wall and letting people start playing with. Good idea, but a heads-up;

Re: Java alternatives (was Re: Updated: stable compiler package gcc4-4.3.4-3)

2010-01-10 Thread Dave Korn
Yaakov (Cygwin/X) wrote: Happy New Year, since then, BTW :) pardon me for taking a little time to reply. > On 11/12/2009 14:58, Dave Korn wrote: >> As part of its infrastructure, GCJ uses the Eclipse Compiler for Java >> (ECJ) > I still don't understand what the problem/worry is with licensin

Re: java headers in gcc4-g++

2009-12-17 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > On 17/12/2009 02:40, Dave Korn wrote: >> Andy Koppe wrote: >>> The gcc4-g++ contains about 4000 Java-related headers under >>> /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++. Is that as intended? >> >>Yep. > > Why? Debian packages them in libgcj9-dev[1], so they shou

Re: java headers in gcc4-g++

2009-12-17 Thread Yaakov (Cygwin/X)
On 17/12/2009 02:40, Dave Korn wrote: Andy Koppe wrote: The gcc4-g++ contains about 4000 Java-related headers under /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++. Is that as intended? Yep. Why? Debian packages them in libgcj9-dev[1], so they should be safe to go in gcc4-java instead.

Re: java headers in gcc4-g++

2009-12-17 Thread Dave Korn
Andy Koppe wrote: > The gcc4-g++ contains about 4000 Java-related headers under > /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++. Is that as intended? Yep. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentati

Re: java vs c, escape sequences

2008-09-13 Thread Barry Kelly
rick271828 wrote: > Can anybody please explain why the c code: > printf("%c[H%c[J",27,27); clears my cygwin console as expected, but the > Java code: > > System.out.print("\033[2J\033[H"); > > displays a back arrow instead on interpreting the escape character? It's because you are not runn

Re: Java under Cygwin and the installation of CaGe

2007-08-22 Thread Igor Peshansky
On Wed, 22 Aug 2007, point wrote: > Hello, > > this is my problem: I used Windows XP and would like to install the > graph visualization software CaGe, obtainable at > > http://www.math.uni-bielefeld.de/~CaGe/ > > which is built in, and requires Java; the system requirements include > the followin

RE: Java

2007-06-13 Thread Dave Korn
On 13 June 2007 02:51, Shankar Unni wrote: > The only issues we've ever faced are occasional "line-ending" screwups, > especially when manipulating files under CVS control.. (check out from > CVS, use Wordpad (grr!) to edit, check back in - oops, bogus ^Ms checked > in to the repository!) Use

Re: Java

2007-06-12 Thread Shankar Unni
Brian D. McGrew wrote: None, I was asking if a standard Sun JDK could be installed on cygwin and if so, which one? Of course it can. But... (you knew there was a but..) Sun's JDK is a native windows application, which means Java programs that it runs won't know how to deal with /cygdrive/c,

Re: Java

2007-06-12 Thread Arturus Magi
Brian D. McGrew wrote: > Brian D. McGrew, le Mon 11 Jun 2007 10:53:03 -0700, a écrit : >> However, I need java. There is a higher level user interface that >> goes on top of our C/C++/X/Motif stuff that's all done in Java. > > Could it work with the java support of gcj? > - > > Sadly, no, it

Re: Java

2007-06-11 Thread Igor Peshansky
On Mon, 11 Jun 2007, Brian D. McGrew wrote: > Good morning all, > > I'm brand new to cygwin but a veteran Unix engineer so I do know my way > around... I've successful compiled all of my C/C++ code in cygwin and > it's all running good now. However, I need java. There is a higher > level user i

RE: Java

2007-06-11 Thread Brian D. McGrew
> What issue(s) are you having with a standard SUN jdk install?? - None, I was asking if a standard Sun JDK could be installed on cygwin and if so, which one? -brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Doc

RE: Java

2007-06-11 Thread Reid Thompson
On Mon, 2007-06-11 at 11:33 -0700, Brian D. McGrew wrote: > > What issue(s) are you having with a standard SUN jdk install?? > - > > None, I was asking if a standard Sun JDK could be installed on cygwin > and if so, which one? > > -brian ala, Gordon Prieur, I've used at least 1.4 and 1.5 SU

Re: Java

2007-06-11 Thread Gordon Prieur
Brian, Cygwin and Java (Sun's Java, not just gcj) can coexist. I use both on my laptop on a (sometimes) daily basis. Gordon Brian D. McGrew wrote: Good morning all, I'm brand new to cygwin but a veteran Unix engineer so I do know my way around... I've successful compiled all of my C/C++ c

RE: Java

2007-06-11 Thread Reid Thompson
On Mon, 2007-06-11 at 11:05 -0700, Brian D. McGrew wrote: > Brian D. McGrew, le Mon 11 Jun 2007 10:53:03 -0700, a écrit : > > However, I need java. There is a higher level user interface that > > goes on top of our C/C++/X/Motif stuff that's all done in Java. > > Could it work with the java suppo

RE: Java

2007-06-11 Thread Brian D. McGrew
Brian D. McGrew, le Mon 11 Jun 2007 10:53:03 -0700, a écrit : > However, I need java. There is a higher level user interface that > goes on top of our C/C++/X/Motif stuff that's all done in Java. Could it work with the java support of gcj? - Sadly, no, it won't work with gcj. I'm a C++ prog

Re: Java

2007-06-11 Thread Samuel Thibault
Hi, Brian D. McGrew, le Mon 11 Jun 2007 10:53:03 -0700, a écrit : > However, I need java. There is a higher level user interface that > goes on top of our C/C++/X/Motif stuff that's all done in Java. Could it work with the java support of gcj? Samuel -- Unsubscribe info: http://cygwin.com

Re: Re: Java program under cygwin?

2006-05-24 Thread Peter Mueller
Hi Charli and Jim, thanks a lot for your advice! > An X-server provides a means for client programs (the Java app in > question) to "draw" on the display. I use the CygWin/X server all the > time to do just what you are wanting to do. Look at the second link > down on the cygwin home page ( ht

RE: Java program under cygwin?

2006-05-23 Thread Charli Li
> Sent: Tuesday, May 23, 2006 3:40 PM > To: cygwin@cygwin.com > Subject: Re: Java program under cygwin? > > > The GUI in linux (and in other Unixes) is provided via an X-Server. > An X-server provides a means for client programs (the Java app in > question) to "draw&q

Re: Java program under cygwin?

2006-05-23 Thread Jim Drash
The GUI in linux (and in other Unixes) is provided via an X-Server. An X-server provides a means for client programs (the Java app in question) to "draw" on the display. I use the CygWin/X server all the time to do just what you are wanting to do. Look at the second link down on the cygwin home

Re: Java program under cygwin?

2006-05-23 Thread Peter Mueller
Hello Dave, hello Jim! > It looks like no X11 DISPLAY variable was set, but this > program > performed an operation which requires it. This is probably a consequence > of > the fact that you're trying to run a GUI in a text-only environment. OK, then I guess I got something wrong: I thought cy

RE: Java program under cygwin?

2006-05-23 Thread Dave Korn
On 23 May 2006 14:49, Peter Mueller wrote: > Hello, > > I am trying to run a Java program which has a GUI associated with it and > whose code is on a remote linux server. > > I am first establishing an ssh connection with an appended "-X" and then > run the java program using the path to the Ja

Re: Java program under cygwin?

2006-05-23 Thread Jim Drash
Are you running an X-server on your local box? That is what the message is saying. It needs to talk to an X-server. On 5/23/06, Peter Mueller <[EMAIL PROTECTED]> wrote: Hello, I am trying to run a Java program which has a GUI associated with it and whose code is on a remote linux server. I a

Re: Java and Cygwin: a difficult relation

2006-01-26 Thread Lapo Luchini
Lapo Luchini wrote: > The other problem is that from JNI you can't simply call a cygwin DLL, > as it wouldn't load his cygwin1.dll dependency correctly and surely dump. > As Dave Korn suggested, we could have used cygload to actualyl load it "the usual way" as JNI, but we discovered cygload only

RE: Java and Cygwin: a difficult relation

2006-01-26 Thread Dave Korn
On 26 January 2006 14:35, Lapo Luchini wrote: > The problem is now, of course, to do it all on Windows. > gamin seems to compile and work, on cygwin, with a few patches; this > seemed to be the hard part, but in fact reveals to be the easier one. > The other problem is that from JNI you can't si

Re: java: Is there any GUI debugger compatible with GCJ?

2004-06-20 Thread Igor Pechtchanski
On Sun, 20 Jun 2004, Alexey Lyubimov wrote: > Does anybody knows a GUI debugger that can be used together with GCJ. I've > read that it's possible to debug java applications in gdb. But it's > necessary to generate object code (.exe) then :-) It takes quite a lot of > time. Is there any free debug

Re: Java Thread Dump in Bash

2004-02-18 Thread Randall R Schulz
Frank-Michael, I hesitate to continue this on the Cygwin list, but I will, for now. At 09:45 2004-02-18, Frank-Michael Moser wrote: Randall, does your Java application die after pressing Ctrl-Break or not? It appears it terminates. As you've had me trying this much more than I ever have in the p

Re: Java Thread Dump in Bash

2004-02-18 Thread Frank-Michael Moser
Randall, does your Java application die after pressing Ctrl-Break or not? Frank-Michael Randall R Schulz wrote: Frank-Michael, At 12:09 2004-02-17, Frank-Michael Moser wrote: Unfortunately neither Ctrl-Break nor Ctrl-Scroll produce a thread dump not in pure bash and not in RXVT for me. I'm us

Re: Java Thread Dump in Bash

2004-02-18 Thread Frank-Michael Moser
Randall R Schulz wrote: All I said was that cygcheck output would not help me. Sorry for making trouble misunderstanding this. I have attached my cygcheck -s now. cygcheck.txt Description: application/force-download -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

Re: Java Thread Dump in Bash

2004-02-18 Thread Randall R Schulz
Frank-Michael, At 07:37 2004-02-18, Frank-Michael Moser wrote: Larry Hall wrote: OK. Maybe now it's time for you to look at and follow: Problem reports: http://cygwin.com/problems.html Larry, what was wrong with my mails? Sorry, if..., but...? I'm reading the mailing list since a long time

Re: Java Thread Dump in Bash

2004-02-18 Thread Frank-Michael Moser
Larry Hall wrote: OK. Maybe now it's time for you to look at and follow: Problem reports: http://cygwin.com/problems.html Larry, what was wrong with my mails? Sorry, if..., but...? I'm reading the mailing list since a long time and thought I would follow these guidelines you just mentioned

Re: Java Thread Dump in Bash

2004-02-18 Thread Larry Hall
OK. Maybe now it's time for you to look at and follow: Problem reports: http://cygwin.com/problems.html Sounds like you have an installation specific problem that you need to dig a little deeper to resolve. Larry At 06:31 AM 2/18/2004, Frank-Michael Moser you wrote: >Ha, now I saw a th

Re: Java Thread Dump in Bash

2004-02-18 Thread Frank-Michael Moser
Ha, now I saw a thread dump in bash console. Unfortunately it kills immediately the java app. In RXVT I see a single new line with "i" printed and the app is killed. My $CYGWIN is "nontsec nosmbntsec". Java is run from SDK as you do. My cygwin is latest, too (just updated again). Frank-Michael

Re: Java Thread Dump in Bash

2004-02-17 Thread Randall R Schulz
Frank-Michael, At 12:09 2004-02-17, Frank-Michael Moser wrote: Unfortunately neither Ctrl-Break nor Ctrl-Scroll produce a thread dump not in pure bash and not in RXVT for me. I'm using latest cygwin and tried JDK 1.4.2_02 and 1.5.0 beta. Also the java applications I tried do not read from stand

Re: Java Thread Dump in Bash

2004-02-17 Thread Frank-Michael Moser
Unfortunately neither Ctrl-Break nor Ctrl-Scroll produce a thread dump not in pure bash and not in RXVT for me. I'm using latest cygwin and tried JDK 1.4.2_02 and 1.5.0 beta. Also the java applications I tried do not read from standard input. What versions (cygwin/java) do you use. Is it worth

Re: Java Thread Dump in Bash

2004-02-17 Thread Randall R Schulz
Frank-Michael, CTRL-BREAK produces a thread-dump using the latest Sun JVM on my system when launched from BASH. However, if the program is reading standard input from the unredirected console, it receives an end-of-file indication on that stream as well. Randall Schulz At 03:42 2004-02-17, Fr

Re: Java hello world link error

2003-12-28 Thread Gerrit P. Haase
Hallo Mauro, > One last thing. > I noticed that the resulting Test.exe attempts to access the internet. > Is this expected ? > Its trying to access 24.25.4.107 which my getHost tool tells me is > rlghnc-dns-cac-02-dmfe1.nc.rr.com. Please discuss this on the java list (and start a new thread), it

Re: Java hello world link error

2003-12-23 Thread Lapo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shankar Unni wrote: | It's not unexpected or incorrect, but may be suboptimal. | | The Java runtime insists that InetAddress.getLocalHost() return your | true IP address, not "127.0.0.1". Unfortunately, in a dialup setup with | automatic connection, suc

Re: Java hello world link error

2003-12-22 Thread Shankar Unni
mauro zallocco wrote: I noticed that the resulting Test.exe attempts to access the internet. Is this expected ? Its trying to access 24.25.4.107 which my getHost tool tells me is rlghnc-dns-cac-02-dmfe1.nc.rr.com. It's not unexpected or incorrect, but may be suboptimal. This host is obviously you

Re: Java hello world link error

2003-12-21 Thread mauro zallocco
Jon, installing libiconv and using "--main=Test" did the trick. Thanks. I looked at http://gcc.gnu.org/java/ and found http://www.linuxjournal.com/article.php?sid=4860 which discusses compiling java. One last thing. I noticed that the resulting Test.exe attempts to access the internet. Is this exp

Re: Java hello world link error

2003-12-21 Thread Jon A. Lambert
mauro zallocco wrote: > $ gcj Test.java > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: > cannot > find -liconv > collect2: ld returned 1 exit status > You probably need to install one or both of these: $ cygcheck -c | grep iconv libiconv1.9.1-3

RE: Java hello world link error

2003-12-21 Thread mauro zallocco
t: Sunday, December 21, 2003 10:39 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Java hello world link error > > > At 08:04 PM 12/20/2003, mauro zallocco wrote: > > >Folks, > > > >I installed gcc-java on Windows XP, and am attempting to compile: >

Re: Java hello world link error

2003-12-21 Thread Tim Prince
At 08:04 PM 12/20/2003, mauro zallocco wrote: Folks, I installed gcc-java on Windows XP, and am attempting to compile: class Test { public static void main(String argv[]) { System.out.println("Hello World"); } } with the following command: g++ Test.java This produces a gazillion link e

Re: Java hello world link error

2003-12-21 Thread Jon A. Lambert
"mauro zallocco" wrote: > > with the following command: > g++ Test.java > gcj --main=Test Test.java See also: http://gcc.gnu.org/java/ -- J. Lambert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Java plugin library compiles ok? on cygwin-XP but WILL NOT RUN

2003-08-25 Thread Alan
- Original Message - From: "Alan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 3:38 PM Subject: Java plugin library compiles ok? on cygwin-XP but WILL NOT RUN Hi. Ive got a problem that may well not be cygwin related but I have a feeling that it might be s

RE: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-08 Thread Bruce Adams
>-Original Message- >From: Lapo Luchini [mailto:[EMAIL PROTECTED]] >Sent: 07 January 2003 09:51 >To: [EMAIL PROTECTED] >Subject: Re: Java (1 of 3): Gcj - Hello world exe (again) > >I don't think the version number matters, my fair guess is >that for some

Re: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-07 Thread Lapo Luchini
Bruce Adams wrote: C:\BruceA\java>gcj --version gcj (GCC) 3.2 20020818 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Why does yo

RE: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-07 Thread Bruce Adams
>-Original Message- >From: Lapo Luchini [mailto:[EMAIL PROTECTED]] >Sent: 06 January 2003 11:11 >To: [EMAIL PROTECTED] >Subject: Re: Java (1 of 3): Gcj - Hello world exe (again) > > >Bruce Adams wrote: > >>Hello.java(note: case is important in this

Re: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-06 Thread Lapo Luchini
Bruce Adams wrote: Hello.java(note: case is important in this filename) == class Hello { public Hello() {}; public static void main(String args[]) { int returnCode = 0; System.out.println("hello world\r\n"); System.exit(returnCode); } } lapo@CYBERONE

RE: Java on CGYWIN & How to compile packages

2001-12-11 Thread ASH, JAMES (SBCSI)
And you will have to use cygpath extensively so that you pass the windows types paths to the javac correctly. -Original Message- From: Alex Malinovich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 5:38 AM To: 'Michael Tang'; [EMAIL PROTECTED] Subject: RE: Java

RE: Java on CGYWIN & How to compile packages

2001-12-11 Thread Alex Malinovich
Question 2 is very well documented, so feel free to look it up. (Archives, FAQ, etc) Question 1 was answered about a week or two ago but I'm not sure if it's in the archives yet. Just in case: The easiest thing to do is get the JDK for Windows, install it, and then just call it from Cygwin. (Mak