[Bug 29424] New: Program in 'path' not found
http://bugs.winehq.org/show_bug.cgi?id=29424 Bug #: 29424 Summary: Program in 'path' not found Product: Wine Version: 1.2.3 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: cmd AssignedTo: wine-bugs(a)winehq.org ReportedBy: john.aaron.rose(a)googlemail.com Classification: Unclassified Created attachment 38083 --> http://bugs.winehq.org/attachment.cgi?id=38083 Screenshot demonstrating the bug. Program which is in a folder in the 'path' is not found even though it is found when that folder is specified explicitly. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 johnaaronrose <john.aaron.rose(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.aaron.rose(a)googlemail. | |com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 johnaaronrose <john.aaron.rose(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.2.3 |1.3.35 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #1 from johnaaronrose <john.aaron.rose(a)googlemail.com> 2011-12-23 09:11:25 CST --- Created attachment 38085 --> http://bugs.winehq.org/attachment.cgi?id=38085 Screenshot demonstrating the bug in Wine 1.3.35 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #2 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-12-23 11:52:50 CST --- Have you restarted Wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #3 from johnaaronrose <john.aaron.rose(a)googlemail.com> 2011-12-23 12:21:36 CST --- (In reply to comment #2)
Have you restarted Wine?
Yes. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #4 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-12-23 13:37:45 CST --- Is this only cmd affected? Does 'wine java' works from any directory? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #5 from johnaaronrose <john.aaron.rose(a)googlemail.com> 2011-12-23 14:34:18 CST --- (In reply to comment #4)
Is this only cmd affected? Does 'wine java' works from any directory?
I don't understand the question. java.exe runs if called by specifying the directory that it is in. If called, without specifying the directory that it is in, it is not found even though that directory is in the 'path'. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #6 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-12-23 16:50:27 CST --- Does this work? cd ~ wine java.exe -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|john.aaron.rose(a)googlemail. | |com | Severity|major |minor -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Program in 'path' not found |cmd: program in PATH is not | |found -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #7 from johnaaronrose <john.aaron.rose(a)googlemail.com> 2011-12-24 01:48:45 CST --- It gives: wine: Bad EXE format for C:\windows\system32\java.exe That message doesn't occur on running 'C:\Java\jdk1.6.0_26\bin\java.exe' directly in MSDOS window (created by executing cmd.exe in Ubuntu). So it looks like it half works? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #8 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2011-12-24 07:51:42 CST --- (In reply to comment #7)
It gives: wine: Bad EXE format for C:\windows\system32\java.exe
That message doesn't occur on running 'C:\Java\jdk1.6.0_26\bin\java.exe' directly in MSDOS window (created by executing cmd.exe in Ubuntu). So it looks like it half works?
It means that you probably have some broken java.exe in your PATH. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #9 from Jason Edmeades <us(a)edmeades.me.uk> 2012-09-03 17:09:38 CDT --- Which java was installed - 32 or 64 bit? I wonder if its possible that wine found the java.exe in the system32 directory (system jvm in effect) and found it as a 64 bit binary and 32 bit couldnt recognize it.
From comment 7, it does imply the root cause here is a java.exe in system32 (current directory is searched ahead of the path), so one test would be to 'cd' out of SYSTEM32 and see if it then works (cd \, java -version).
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 --- Comment #10 from Jason Edmeades <us(a)edmeades.me.uk> 2012-09-03 17:22:44 CDT --- Which java was installed - 32 or 64 bit? I wonder if its possible that wine found the java.exe in the system32 directory (system jvm in effect) and found it as a 64 bit binary and 32 bit couldnt recognize it.
From comment 7, it does imply the root cause here is a java.exe in system32 (current directory is searched ahead of the path), which is seen as invalid but its pure presence prevents a subsequent path search.
One test would be to 'cd' out of SYSTEM32 and see if it then works (cd \, java -version). The other is to confirm a presence of java.exe in system32 and try to run it explicitly. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME --- Comment #11 from Jason Edmeades <us(a)edmeades.me.uk> 2012-09-04 18:03:46 CDT --- I'm resolving this as worksforme as I think the problem is a faulty binary in the system32 directory, possibly due to a faulty install. I took the latest x86 java 1.6 installer from Oracle and ran it, and it does indeed stick a java.exe into the system32 directory but it correctly invokes from the command line (both sitting in system32 and outside). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29424 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Austin English <austinenglish(a)gmail.com> 2012-09-18 19:07:43 CDT --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org