Re: ImageJ Java Windows issue

2024-12-31 Thread Brian Inglis via Cygwin
lugIn(IJ.java:210) at ij.Executer.runCommand(Executer.java:152) at ij.Executer.run(Executer.java:70) at java.lang.Thread.run(Thread.java:750) Ask on an ImageJ Java Windows list or site? -- Take care. Thanks, Brian Inglis Calgary, Alberta, C

RE: [cygwin] jansi adds spaces to output running maven on java in w10

2021-01-07 Thread Jason Pyeron
> -Original Message- > From: Brian Inglis > Sent: Thursday, January 7, 2021 11:49 AM > > > On 2021-01-07 08:00, Takashi Yano via Cygwin wrote: > > On Thu, 7 Jan 2021 09:39:32 -0500 > > "Jason Pyeron" wrote: > >> I am still curious as to what is the reason that unsetting PWD or setting > >

Re: [cygwin] jansi adds spaces to output running maven on java in w10

2021-01-07 Thread Brian Inglis
On 2021-01-07 08:00, Takashi Yano via Cygwin wrote: On Thu, 7 Jan 2021 09:39:32 -0500 "Jason Pyeron" wrote: I am still curious as to what is the reason that unsetting PWD or setting TERM=cygwin fixes this. Please refer to https://github.com/fusesource/jansi/issues/165 ...where the patch at

Re: [cygwin] RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-07 Thread Takashi Yano via Cygwin
On Thu, 7 Jan 2021 09:39:32 -0500 "Jason Pyeron" wrote: > I am still curious as to what is the reason that unsetting PWD or setting > TERM=cygwin fixes this. Please refer to https://github.com/fusesource/jansi/issues/165 -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html

RE: [cygwin] RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-07 Thread Jason Pyeron
> -Original Message- > From: KAVALAGIOS Panagiotis (EEAS-EXT) > Sent: Thursday, January 7, 2021 4:40 AM > > > -Original Message- > > From: Cygwin On Behalf Of Takashi Yano via > > Cygwin > > Sent: 07 January 2021 10:05 > > > > On Thu, 7 Jan 2021 08:38:42 + > > "KAVALAGIOS Pana

RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-07 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> -Original Message- > From: Cygwin On Behalf Of Takashi Yano via > Cygwin > Sent: 07 January 2021 10:05 > > On Thu, 7 Jan 2021 08:38:42 + > "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote: > > > > We also speak 1809 and the snapshot is not working for us either. > > > > I was thinking that

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-07 Thread Takashi Yano via Cygwin
On Thu, 7 Jan 2021 08:38:42 + "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote: > > -Original Message- > > From: Cygwin On Behalf Of Takashi Yano via > > Cygwin > > Sent: 06 January 2021 10:52 > > > > On Wed, 6 Jan 2021 10:36:02 +0900 > > Takashi Yano via Cygwin wrote: > > > On Tue, 5 Jan 20

RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-07 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> -Original Message- > From: Cygwin On Behalf Of Takashi Yano via > Cygwin > Sent: 06 January 2021 10:52 > > On Wed, 6 Jan 2021 10:36:02 +0900 > Takashi Yano via Cygwin wrote: > > On Tue, 5 Jan 2021 14:46:53 + > > "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote: > > > > -Original Messag

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-06 Thread Takashi Yano via Cygwin
On Wed, 6 Jan 2021 10:36:02 +0900 Takashi Yano via Cygwin wrote: > On Tue, 5 Jan 2021 14:46:53 + > "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote: > > > -Original Message- > > > From: Cygwin On Behalf Of Takashi Yano via > > > Cygwin > > > Solution 2: > > > Replace cygwin1.dll with the late

RE: [cygwin] Re: jansi bug adds spaces to output from maven build using java on w10

2021-01-06 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> -Original Message- > From: Cygwin On Behalf Of Brian Inglis > > On 2021-01-06 00:53, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > I know exactly what are my options and believe me, there are more than > > the one reported here. In my case, we need to update Cygwin Git in our > > machines

Re: [cygwin] Re: jansi bug adds spaces to output from maven build using java on w10

2021-01-06 Thread Brian Inglis
On 2021-01-06 00:53, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: I know exactly what are my options and believe me, there are more than the one reported here. In my case, we need to update Cygwin Git in our machines, so a solution to stick to 3.0.7 and update only Git is also fine. > However, we ha

RE: [cygwin] Re: jansi bug adds spaces to output from maven build using java on w10

2021-01-05 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> -Original Message- > From: Cygwin On Behalf Of Brian Inglis > On 2021-01-05 09:15, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > I would still prefer the Cygwin update though to avoid extra > > configuration and have it working out-of-the-box :) > > You can update using the snapshots now,

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-05 Thread Takashi Yano via Cygwin
On Tue, 5 Jan 2021 14:46:53 + "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote: > > -Original Message- > > From: Cygwin On Behalf Of Takashi Yano via > > Cygwin > > Solution 2: > > Replace cygwin1.dll with the latest snapshot. > > https://cygwin.com/snapshots/ > > We have been also affected b

Re: [cygwin] Re: jansi bug adds spaces to output from maven build using java on w10

2021-01-05 Thread Brian Inglis
On 2021-01-05 09:15, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: >> Jason Pyeron wrote: On Tuesday, January 5, 2021 9:47 AM, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: Takashi Yano wrote: Solution 2: Replace cygwin1.dll with the latest snapshot. https://cygwin.com/snapshots/ We have been also affec

RE: [cygwin] RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-05 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> -Original Message- > From: Cygwin On Behalf Of Jason Pyeron > > > -Original Message- > > From: KAVALAGIOS Panagiotis (EEAS-EXT) > > Sent: Tuesday, January 5, 2021 9:47 AM > > > > ((Takashi, I apologise for my direct e-mail... I hate Outlook... the > > Reply-all does not include

RE: [cygwin] RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-05 Thread Jason Pyeron
> -Original Message- > From: KAVALAGIOS Panagiotis (EEAS-EXT) > Sent: Tuesday, January 5, 2021 9:47 AM > > ((Takashi, I apologise for my direct e-mail... I hate Outlook... the > Reply-all does not include the > list)) > > > -Original Message- > > From: Cygwin On Behalf Of Takash

RE: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2021-01-05 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
((Takashi, I apologise for my direct e-mail... I hate Outlook... the Reply-all does not include the list)) > -Original Message- > From: Cygwin On Behalf Of Takashi Yano via > Cygwin > Solution 2: > Replace cygwin1.dll with the latest snapshot. > https://cygwin.com/snapshots/ We have bee

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2020-12-29 Thread Takashi Yano via Cygwin
On Tue, 29 Dec 2020 11:59:29 + Valentin Brasov via Cygwin wrote: > Hi, > > Check the following output fragment from a cygwin64 terminal on windows 10 > 64bit while running a maven 3 build using java 1.8: > > [INFO] Using 'UTF-8' encoding to copy filtered

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2020-12-29 Thread Marco Atzeri via Cygwin
On 29.12.2020 12:59, Valentin Brasov via Cygwin wrote: Hi, Check the following output fragment from a cygwin64 terminal on windows 10 64bit while running a maven 3 build using java 1.8: You can see it clearly happening on the lines: [INFO] skip non existing resourceDirectory C:\proj\t020

cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2020-12-29 Thread Valentin Brasov via Cygwin
Hi, Check the following output fragment from a cygwin64 terminal on windows 10 64bit while running a maven 3 build using java 1.8: [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\proj\t020-domain\src\ test\resources [I

Re: Issue in Java path

2019-09-24 Thread Rakhi Batra - Assistant Manager Publication
; I am facing an issue in the path of the file. Whenever I am executing the > > below command. The slashes in classpath are replaced with dots and I am > > unable to navigate to files in order to run the scripts. Kindly guide why > > this is happening and what is the solution. Tha

Re: Issue in Java path

2019-09-24 Thread Brian Inglis
guide why > this is happening and what is the solution. Thank you. > > (java $JAVA_OPTS -classpath `cygpath -pu $CLASSPATH` > org.dspace.app.launcher.ScriptLauncher "$@") There is no Cygwin Java, so please just define a Windows env var using Windows paths and separators, do n

Re: Issue in Java path

2019-09-24 Thread Andrey Repin
> this is happening and what is the solution. Thank you. > (java $JAVA_OPTS -classpath `cygpath -pu $CLASSPATH` > org.dspace.app.launcher.ScriptLauncher "$@") There's multiple issues beyond what has already been mentioned. 3. Missing quotation of an unknown variable. 4. There&#

Re: Issue in Java path

2019-09-24 Thread Eliot Moss
why this is happening and what is the solution. Thank you. (java $JAVA_OPTS -classpath `cygpath -pu $CLASSPATH` org.dspace.app.launcher.ScriptLauncher "$@") Seeing as you did not supply specifics it's a little hard to know exactly what's going on, but it is conceivable

RE: [cygwin] Issue in Java path

2019-09-24 Thread Jason Pyeron
ots and I am By dots, do you mean ":" ? Can you please provide a concrete example of the input and output? > unable to navigate to files in order to run the scripts. Kindly guide why > this is > happening and what is the solution. Thank you. > > (java $JAVA_OPTS -classpat

Issue in Java path

2019-09-24 Thread Rakhi Batra - Assistant Manager Publication
Hello, I am facing an issue in the path of the file. Whenever I am executing the below command. The slashes in classpath are replaced with dots and I am unable to navigate to files in order to run the scripts. Kindly guide why this is happening and what is the solution. Thank you. (java

(Solved) Re: question about running a linux-compat java prog under cygwin

2018-03-04 Thread L A Walsh
L A Walsh wrote: Dunno much about java, so please try to not laugh too hard. I'm wanting to run the MegaRAID Storage Manager GUI on windows to manage a megaraid controller. I run the GUI on linux to manage my server's controller -- that works fine. Fortunately, looking a

Re: question about running a linux-compat java prog under cygwin

2018-02-28 Thread Brian Inglis
On 2018-02-28 19:40, L A Walsh wrote: > R0b0t1 wrote: >> Should be unnecessary. The manufacturer probably picked Java for its >> cross-platform capabilities. > --- > maybe...with their new card, it's managed via a > web-server (NGinx) that gets installed --

Re: question about running a linux-compat java prog under cygwin

2018-02-28 Thread L A Walsh
R0b0t1 wrote: Should be unnecessary. The manufacturer probably picked Java for its cross-platform capabilities. --- maybe...with their new card, it's managed via a web-server (NGinx) that gets installed -- then they look for what web browser you are running. In the case

Re: question about running a linux-compat java prog under cygwin

2018-02-28 Thread R0b0t1
On Wed, Feb 28, 2018 at 6:48 PM, L A Walsh wrote: > Dunno much about java, so please try to not laugh too hard. > > I'm wanting to run the MegaRAID Storage Manager GUI on windows > to manage a megaraid controller. > > I run the GUI on linux to manage my server's con

question about running a linux-compat java prog under cygwin

2018-02-28 Thread L A Walsh
Dunno much about java, so please try to not laugh too hard. I'm wanting to run the MegaRAID Storage Manager GUI on windows to manage a megaraid controller. I run the GUI on linux to manage my server's controller -- that works fine. Maybe I'm overthinking things, but thought

Re: Windows Path issue with maven/java on cygwin ("/C:/cygwin64/git...")

2017-01-14 Thread Andrey Repin
mix native and Cygwin tools with not much of an understanding. > So...my question goes like this: > a) is there something in my configuration which is causing this? (i.e. > should I have the linux version of java installed under cygwin or am I > missing a setting someplace?) Mat

Windows Path issue with maven/java on cygwin ("/C:/cygwin64/git...")

2017-01-13 Thread Chris Brokes
First time sending an email to the list. Thanks for all the patience of everyone involved. Due to a work requirement, I'm trying to get the following working: git - repository successfully downloaded. Original code was written for linux and is java based java - Windows java JDK

gcc-java-4.9.2-3 has the wrong libgcj dependency

2015-10-17 Thread Matt D.
Latest release of setup-x86.exe downloaded today. gcc-java-4.9.2-3 has the wrong libgcj dependency. It erroneously depends on libgcj16-5.2.0-1 instead of libgcj15-4.9.3-1 and will complain that it can't find cyggcj-15.dll if I try to run gjar. Matt D. -- Problem reports:

gcc-java-4.9.2 dependency from python

2015-01-11 Thread Marco Atzeri
Jon Y, gcc-java-4.9.2 is again dependent from python and python3. I modified the uploaded setup.hint please amend your local copy. Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com

Re: Ctrl-C does not work from Cygwin for the java program

2014-12-04 Thread J. David Boyd
> > I assume you are trying this from the default MinTTY shell. What happens if > you run it under cmd.exe instead? > > That is: > > c:\> cd cygwin > c:\cygwin> cygwin > $ java /path/to/my/program/pgm.jar > > This may be the old native EX

Re: Ctrl-C does not work from Cygwin for the java program

2014-12-03 Thread Warren Young
inTTY shell. What happens if you run it under cmd.exe instead? That is: c:\> cd cygwin c:\cygwin> cygwin $ java /path/to/my/program/pgm.jar This may be the old native EXE console compatibility problem. (Same reason native ftp.exe doesn’t work right under Cygwi

Ctrl-C does not work from Cygwin for the java program

2014-12-03 Thread Michelle Ma
I have a java program with adding a shutdown hook: public class Test { public static void main(String args[]) { Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { System.out.println("Called"); // Ouput } }); for(;;); } }

Re: Fwd: using cygwin inetd to start a script on a server to run a java application

2014-06-09 Thread Eliot Moss
is set to nowait) i apologize if that was confusing. has anyone any other suggestions? So here's a wondering, broadening the strategy for addressing your real desire, which is to have a Java server program spawned automatically. Oracle must have developed a preferred way for doing

Fwd: using cygwin inetd to start a script on a server to run a java application

2014-06-09 Thread annie s
Hi Eliot, I really appreciate your time looking at this... " ftp stream tcp nowait annie/usr/sbin/ftpd ftpd example-serverstreamtcpwaitcyg_server /nms/bin/test/testtest " fyi example server is set to wait (and ftp is set to nowait) i apologize if that was confus

Re: using cygwin inetd to start a script on a server to run a java application

2014-06-06 Thread Eliot Moss
. So a local port can certainly be used in multiple connections. It will, however, be a different socket within the server. I notice that the Java process is also listening, but on a different local port. I am guessing that that is for the intended RMI connection. That is, the point of the

using cygwin inetd to start a script on a server to run a java application

2014-06-05 Thread annie s
call an inetd service on the server which in turn runs a script on the server which sets up the environment and calls a java class called "Server". My C:\cygwin64\etc\inetd.config on the server ftp stream tcp nowait annie/usr/sbin/ftpd ftpd example-serverstreamt

stty on Cygwin in java program

2013-07-08 Thread Jin Zhao
Hi, When run 'stty -echo' from java application on Cygwin, I got the error meesage "stty: standard input: Inappropriate ioctl for device", but it is OK when run it from Cygwin terminal. Any idea? Thanks. Test program is as bellow: --

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

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

2013-05-25 Thread Phillip Dudley
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 server, and forward MegaMek just fine, and no

Re: SIGINT not passed to java process

2013-02-28 Thread Thomas Wolff
Am 11.05.2012 19:29, schrieb Franz Kettwig: After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. I have attached a simple Java program that adds a ShutdownHook that will print out when the correct signal is received and the main program sleeps indefinitely

Re: SIGINT not passed to java process

2013-02-26 Thread Corinna Vinschen
On Feb 26 12:31, Escay wrote: > Olivier Lefevre yahoo.com> writes: > > > > > Since apparently nobody wants to take ownership of this regression > > I'll point out the workaround, for the benefit of those googling > > and landing on this thread: s

Re: SIGINT not passed to java process

2013-02-26 Thread Escay
Olivier Lefevre yahoo.com> writes: > > Since apparently nobody wants to take ownership of this regression > I'll point out the workaround, for the benefit of those googling > and landing on this thread: start Java with -Xrs and use Ctrl-Break > instead of Ctrl-C. This w

Re: After installing Jav​a 6.0.39 (32bit): Er​ror opening re gistry​ key 'Software\JavaS ​oft\Java Runtime Env​ironment'​

2013-02-14 Thread Eliot Moss
On 2/14/2013 10:55 AM, Ulrich wrote: Here's Ulrich's original message: After installing Java 6.0.39(32bit) I get the message "Error opening registry key 'Software\JavaSoft\Java Runtime Environment'". The key CurrentVersion of the RegistryEntry is "1.7" (

Re: After installing Jav​a 6.0.39 (32bit): Er​ror opening registry​ key 'Software\JavaS​oft\Java Runtime Env​ironment'​

2013-02-14 Thread Larry Hall (Cygwin)
On 2/14/2013 7:29 AM, Ulrich wrote: After installing Java 6.0.39(32bit) I get the message "Error opening registry key 'Software\JavaSoft\Java Runtime Environment'". The key CurrentVersion of the RegistryEntry is "1.7" (which is also installed). I've install

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-12-12 Thread erik56d
There is nothing special about the Java program. Might be e.g. public class ShutdownHookTester { public static void main(String[] args) { Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { System.out.println("Cleaning up"); } });

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-12-12 Thread Aaron Schneider
On 12/12/2012 11:05, erik56d wrote: Hi, being a long-time CygWin fan among Windows users, I was a bit frustrated when I had to revert to cmd.exe in order to have the ShutDown hook in my Java program executed on pressing CTRL-C. So, it seems the problem with CTRL-C still persists? Or, is there a

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-12-12 Thread erik56d
Hi, being a long-time CygWin fan among Windows users, I was a bit frustrated when I had to revert to cmd.exe in order to have the ShutDown hook in my Java program executed on pressing CTRL-C. So, it seems the problem with CTRL-C still persists? Or, is there a solution? I'm running X

[ANNOUNCEMENT] Updated: jlint 3.1.2-1 -- A Java Program Checker

2012-10-21 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://sourceforge.net/projects/jlint License : GPL A static code checker for Java. It will find bugs, inconsistencies and synchronization problems by doing data flow analysis and building the lock graph. CHANGES SINCE LAST RELEASE

[ANNOUNCEMENT] RM: jikes 1.22-2 -- Fast Java compiler adhering to language and VM specifications

2012-09-21 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://sourceforge.net/projects/jikes License : IBM Public License IBM's Java compiler (now Open Source) that translates Java source files as defined in The Java Language Specification (Addison-Wesley, 1996) into the bytecoded instructio

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-08-02 Thread Roger K. Wells
On 07/11/2012 04:07 PM, saltnlight5 wrote: Thanks for the reply "K Stahl", but it didn't work for me. I ran the same Test, then press CTRL+C. But the cygwin terminal did nothing. It did not stop the java process, and it did not print any thing further. I must manually terminate

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread saltnlight5
s on desktop. Well I still have a shortcut to "C:\Cygwin\Cygwin.bat". What I discover is that Java will no longer work with terminal that opens with "C:\Cygwin\Cygwin.bat"! But it DOES work with the Mintty terminal! It's all great for me, because I kind of like Mintty te

RE: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread saltnlight5
Thanks for the tips James, however, I tried the lastest snaphost cygwin1-20120708.dll.bz2 it still not working. James Johnston-5 wrote: > >> -Original Message- >> Sent: Wednesday, July 11, 2012 20:07 >> Subject: Re: CTRL+C is not working with java on

RE: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread James Johnston
> -Original Message- > Sent: Wednesday, July 11, 2012 20:07 > Subject: Re: CTRL+C is not working with java on latest cygwin 1.7.15 > > > Thanks for the reply "K Stahl", but it didn't work for me. I ran the same Test, > then press CTRL+C. But the cyg

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread Earnie Boyd
On Thu, Jul 12, 2012 at 9:02 AM, saltnlight5 wrote: > > @Earnie > What value should I set to CYGWIN that you think it may affect CTRL+C > behavior. I looked at http://cygwin.com/cygwin-ug-net/using-cygwinenv.html > and I don't see any entries that related to CTRL+C. Two people with two differing r

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread Aaron Schneider
essed..."); for (;;); } } javac -cp . Test.java java -cp . Test Press CTRL-C and you are returned to the terminal. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread K Stahl
Hmm, I thought this was an issue in a early release of 1.6. Seeing as you have a pretty recent release, I'm still at a loss. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-12 Thread saltnlight5
@Earnie What value should I set to CYGWIN that you think it may affect CTRL+C behavior. I looked at http://cygwin.com/cygwin-ug-net/using-cygwinenv.html and I don't see any entries that related to CTRL+C. @K Stahl I did print you mine full java -version. See my previous email. Thanks, Z

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread Earnie Boyd
On Wed, Jul 11, 2012 at 4:34 PM, K Stahl wrote: > Seems to me that I've had this issue in the past, but for the life of > me, I cannot remember how it was resolved. Maybe someone else can > weigh in on this topic with some possible suggestions? Maybe the value of the CYGWIN variable. -- Earnie

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread K Stahl
Just out of curiosity, what is your exact version of Java? Post the result of: java --version On Wed, Jul 11, 2012 at 4:34 PM, K Stahl wrote: > Seems to me that I've had this issue in the past, but for the life of > me, I cannot remember how it was resolved. Maybe someone else can

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread K Stahl
Seems to me that I've had this issue in the past, but for the life of me, I cannot remember how it was resolved. Maybe someone else can weigh in on this topic with some possible suggestions? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Do

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread saltnlight5
Hi, I did compile and ran your Test.java program, and it's not working. I have java 6 $ java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode) K Stahl wrote: > > Hmm, what ve

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread K Stahl
Hmm, what version of Java are you using? Mine example was tested on Java 1.6. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread saltnlight5
Thanks for the reply "K Stahl", but it didn't work for me. I ran the same Test, then press CTRL+C. But the cygwin terminal did nothing. It did not stop the java process, and it did not print any thing further. I must manually terminate the process by going into Windows TaskManager

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread K Stahl
You are correct in that you have the latest Cygwin release, but have you tried the test app I have provided? My assumption is that your application or its invocation script is causing the issue, not Cygwin itself. -- Problem reports: http://cygwin.com/problems.html FAQ: ht

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread saltnlight5
gt; everything works as expected. > > Example: > public final class Test { > public static void main(String[] args) { > System.out.println("This shall hang until CTRL-C is pressed..."); > for (;;); > } > } > > javac -cp . Test.java >

Re: CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread K Stahl
javac -cp . Test.java java -cp . Test Press CTRL-C and you are returned to the terminal. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

CTRL+C is not working with java on latest cygwin 1.7.15

2012-07-11 Thread saltnlight5
Hi there, Before I upgraded cygwin, I used to be able to press CTRL+C to any java program, and it will trigger's shutdownhook and exit. But since I upgraded to latest cygwin, this is no longer working. Has anyone has this problem? My cygwin version: $ uname -a CYGWIN_NT-5.1 L328BDS002

Re: 1.7.15: Cygwin DLL issue with procps and java

2012-05-23 Thread Corinna Vinschen
On May 22 12:08, Edgardo Vega wrote: > Using the snapshot from 2012-05-22 still did not fix the problem. Is that a Cygwin java application or a native one? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cyg

Re: SIGINT not passed to java process

2012-05-22 Thread Olivier Lefevre
Since apparently nobody wants to take ownership of this regression I'll point out the workaround, for the benefit of those googling and landing on this thread: start Java with -Xrs and use Ctrl-Break instead of Ctrl-C. This will disable thread dump and break any application that relies on n

Re: 1.7.15: Cygwin DLL issue with procps and java

2012-05-22 Thread Edgardo Vega
Using the snapshot from 2012-05-22 still did not fix the problem. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: 1.7.15: Cygwin DLL issue with procps and java

2012-05-21 Thread Corinna Vinschen
On May 21 09:13, Edgardo Vega wrote: > procps hang when using procps -eFH under the following scenario > > I ssh into localhost and run a custom java application. > If I open console window and try procps -eFH, procps will hangs until > that java application is killed of manuall

Re: SIGINT not passed to java process

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 1:54 PM, Christopher Faylor wrote: > On Fri, May 18, 2012 at 01:33:08PM -0400, Earnie Boyd wrote: >>On Fri, May 18, 2012 at 1:10 PM, Christopher Faylor wrote: >>> ??d:\cyginst>bash >>> ??bash-4.1$ python >>> ??Python 2.6.7 (r267:88850, Feb ??2 2012, 23:50:20) >>> ??[GCC 4.5.

Re: SIGINT not passed to java process

2012-05-18 Thread Christopher Faylor
On Fri, May 18, 2012 at 01:33:08PM -0400, Earnie Boyd wrote: >On Fri, May 18, 2012 at 1:10 PM, Christopher Faylor wrote: >> ??d:\cyginst>bash >> ??bash-4.1$ python >> ??Python 2.6.7 (r267:88850, Feb ??2 2012, 23:50:20) >> ??[GCC 4.5.3] on cygwin >> ??Type "help", "copyright", "credits" or "license"

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Andrew DeFaria
On 5/18/2012 8:11 AM, Marilo wrote: The java aspect looks like a red herring as not relevant to the problem. You want to run a *nix shell script and presumably don't want to write your own bat file doing the same job. I'm probably missing something but given that there's cyg

Re: SIGINT not passed to java process

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 1:10 PM, Christopher Faylor wrote: >  d:\cyginst>bash >  bash-4.1$ python >  Python 2.6.7 (r267:88850, Feb  2 2012, 23:50:20) >  [GCC 4.5.3] on cygwin >  Type "help", "copyright", "credits" or "license" for more information. >  >>> >Hit CTRL-C here< >  KeyboardInterrupt > >

Re: SIGINT not passed to java process

2012-05-18 Thread Christopher Faylor
On Fri, May 18, 2012 at 06:48:56PM +0200, Olivier Lefevre wrote: >On 5/17/2012 7:23 PM, Christopher Faylor wrote: >> On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote: >>> On 5/11/2012 7:29 PM, Franz Kettwig wrote: >>>> After updating to the latest cygwi

Re: SIGINT not passed to java process

2012-05-18 Thread Olivier Lefevre
: On 5/11/2012 7:29 PM, Franz Kettwig wrote: After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. [...] I can attest that Franz is not the only one with this problem. I just upgraded to Cygwin 1.7.15-1 but in vain. Is a fix in the works? Not from me. I don

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 11:50 AM, Marilo wrote: > > Still use /cygdrive/c in the shell script. > It is possible but the OP stated that he mounted the directory to /ABC/XYZ. > I wasn't suggesting using /cygdrive/c in his java program.  His java program > is not so much a

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Marilo
--- On Fri, 18/5/12, Earnie Boyd wrote: > From: Earnie Boyd > Subject: Re: Making Unix like paths work when using java program from Cygwin > Date: Friday, 18 May, 2012, 16:15 > On Fri, May 18, 2012 at 11:11 AM, > Marilo wrote: > > The java aspect looks like a red herring

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 11:11 AM, Marilo wrote: > The java aspect looks like a red herring as not relevant to the problem. > > You want to run a *nix shell script and presumably don't want to write your > own bat file doing the same job. > > I'm probably missing some

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Marilo
The java aspect looks like a red herring as not relevant to the problem. You want to run a *nix shell script and presumably don't want to write your own bat file doing the same job. I'm probably missing something but given that there's cygwin, and it's a *nux script, wha

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
e a windows workstation. Our project uses a shell script and a java >>> program to automate some deployment/setup etc, which needs to create some >>> directories of the sort /ABC/XYZ. >>> Obviously such paths are not valid in Windows. >>> >> >> You s

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Csaba Raduly
On Fri, May 18, 2012 at 1:51 PM, Earnie Boyd wrote: > On Fri, May 18, 2012 at 4:56 AM, himoundary wrote: >> >> I am working in a team where everyone else has a Linux/Mac OS X workstation, >> but I have a windows workstation. Our project uses a shell script and a java >&g

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 4:56 AM, himoundary wrote: > > I am working in a team where everyone else has a Linux/Mac OS X workstation, > but I have a windows workstation. Our project uses a shell script and a java > program to automate some deployment/setup etc, which needs to

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Filipp Gunbin
> Is there a way to get the equivalent of the "native" javac and java > programs one would find on a typical Linux workstation. If not, can I > accomplish what I want using the gcc java compiler gjc? Even if you compile with gjc, you still need the virtual machine, which is a

Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread himoundary
I am working in a team where everyone else has a Linux/Mac OS X workstation, but I have a windows workstation. Our project uses a shell script and a java program to automate some deployment/setup etc, which needs to create some directories of the sort /ABC/XYZ. Obviously such paths are not valid

Re: SIGINT not passed to java process

2012-05-17 Thread Christopher Faylor
On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote: >On 5/11/2012 7:29 PM, Franz Kettwig wrote: >>After updating to the latest cygwin, my Java processes no longer >>receive SIGINT signals. [...] > >I can attest that Franz is not the only one with this problem.

Re: SIGINT not passed to java process

2012-05-17 Thread Olivier Lefevre
On 5/11/2012 7:29 PM, Franz Kettwig wrote: After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. [...] I can attest that Franz is not the only one with this problem. I just upgraded to Cygwin 1.7.15-1 but in vain. Is a fix in the works? Regards, -- O.L

SIGINT not passed to java process

2012-05-11 Thread Franz Kettwig
After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. I have attached a simple Java program that adds a ShutdownHook that will print out when the correct signal is received and the main program sleeps indefinitely waiting for the signal. I used to be able

Re: Gnu Compiler for Java compiling

2012-04-02 Thread David Rothenberger
4 bit Microsoft Windows 7. I assume that I've only gotten >>> 32 bit software, which is not my issue. >>> >>> I am trying to compile my first java program, >>> >>> gcj Program.java --main=Program -o Program.exe >>> >>> and I fi

Re: Gnu Compiler for Java compiling

2012-04-02 Thread marco atzeri
ot my issue. I am trying to compile my first java program, gcj Program.java --main=Program -o Program.exe and I find that I only get the errror message: Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain Check /usr/share/doc/Cyg

Re: Gnu Compiler for Java compiling

2012-04-02 Thread David Rothenberger
ing to compile my first java program, > > gcj Program.java --main=Program -o Program.exe > > and I find that I only get the errror message: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org.eclipse.jdt.internal.compiler.batch.GCCMain Check /usr/

Gnu Compiler for Java compiling

2012-04-02 Thread Me Myself and I
I have just gone through the install with internet download using the latest cygwin windows installer, on my 64 bit Microsoft Windows 7.  I assume that I've only gotten 32 bit software, which is not my issue. I am trying to compile my first java program, gcj Program.java --main=Progr

Re: Spawning Java from C

2012-02-24 Thread Dave Korn
On 24/02/2012 15:07, Eliot Moss wrote: > On 2/24/2012 9:57 AM, Jim Rome wrote: >> Larry Hall (Cygwin cygwin.com> writes: >>> >>> To the OP, run the same from an elevated prompt and these >>> errors should disappear. >>> >> >> I tried it also with windows style paths, both using \\ and / as >> sep

  1   2   3   4   >