Exception RuntimeError: Java failed with #<Process::Status: pid=1632,exited(1)>
Command line was:
C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygwin/bin/java-launcher -Xmx100m -Dorg.jessies.libraryDirectories=; -Dorg.jessies.binaryDirectory= -Dorg.jessies.terminator.dotDirectory= -Dorg.jessies.terminator.logDirectory= -Dorg.jessies.terminator.serverPortFileName= -Dorg.jessies.terminator.optionsFile= -De.gui.HelpMenu.hasManual=true -De.gui.HelpMenu.supportAddress=terminat...@googlegroups.com -De.gui.HelpMenu.supportSite=http://groups.google.com/group/terminator-users -Djava.class.path=;;;; -De.util.Log.filename= -De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon= -Dorg.jessies.frameIcon= -Dorg.jessies.projectRoot= -Dorg.jessies.supportRoot= -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false terminator/Terminator
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/invoke-java.rb:461:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/terminator/bin/terminator:97:in `launch0'
at C:/Program Files/software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:90:in `call'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:90:in `run_in_home_directory'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:88:in `chdir'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:88:in `run_in_home_directory'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:120:in `initialize'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:134:in `new'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:134:in `report_exceptions'
at C:/Program Files/software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/terminator/bin/terminator:218
Please copy this message to the clipboard with Ctrl-C and mail it to terminat...@googlegroups.com.
(Windows won't let you select the text but Ctrl-C works anyway.)
---------------------------
OK
---------------------------
http://groups.google.com/group/terminator-users/browse_thread/thread/1ca0f97b35ca7661
(and also the original thread referred to from that one.)
aiui, which isn't very much because i don't use Windows, you need Cygwin
1.7 if you're using 64-bit Windows 7, and early releases of Cygwin 1.7 had
a bug that meant "cygpath" didn't work, so you need to make sure you're on
the latest release.
--elliott
On Thu, December 31, 2009 09:43, Ivan Vargas wrote:
> Could you please point me to the right direction? At first glance it
> seems there is an environment variable or somethins missing since all the
> values in the -D options are empty.
>
> Any help is much appreciated
>
>
> ---------------------------
> Uncaught exception
> ---------------------------
> An error occurred in Terminator:
>
>
> Exception RuntimeError: Java failed with #<Process::Status:
> pid=1632,exited(1)>
>
> Command line was:
> C:/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygw
> in/bin/java-launcher-Xmx100m -Dorg.jessies.libraryDirectories=;
> -Dorg.jessies.binaryDirectory=
> -Dorg.jessies.terminator.dotDirectory=
> -Dorg.jessies.terminator.logDirectory=
> -Dorg.jessies.terminator.serverPortFileName=
> -Dorg.jessies.terminator.optionsFile= -De.gui.HelpMenu.hasManual=true
> -De.gui.HelpMenu.supportAddress=terminat...@googlegroups.com-De.gui.H
> elpMenu.supportSite= http://groups.google.com/group/terminator-users
> 8:in`run_in_home_directory'
> at C:/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:1
> 20:in`initialize'
> at C:/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:1
> 34:in`new'
> at C:/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:1
> 34:in`report_exceptions'
> at C:/Program Files/
> software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in
> `launch'
> at C:/Program Files/
> software.jessies.org/terminator/Resources/terminator/bin/terminator:218
>
>
> Please copy this message to the clipboard with Ctrl-C and mail it to
> terminat...@googlegroups.com. (Windows won't let you select the text
> but Ctrl-C works anyway.) ---------------------------
> OK
> ---------------------------
>
>
> --
>
>
> You received this message because you are subscribed to the Google Groups
> "terminator-users" group.
> To post to this group, send email to terminat...@googlegroups.com.
> To unsubscribe from this group, send email to
> terminator-use...@googlegroups.com. For more options, visit
> this group at http://groups.google.com/group/terminator-users?hl=en.
>
>
>
--
Elliott Hughes, http://www.jessies.org/~enh/
(because the classpath is empty. that's the real problem. the question is
why the classpath is empty.)
--elliott
> [Error: FindClass("terminator/Terminator") failed.] Are there any
> dependencies I am not aware of?
>
> Thank you all for your help,
>
>
> ---------------------------
> Java Launcher
> ---------------------------
> If you don't have Java installed, download it from http://java.com/, then
> try again. Error: FindClass("terminator/Terminator") failed.
> Selected JVM was: C:\Program Files\Java\jdk1.6.0_17\jre\bin\client\jvm.dll
> Command line was:
> /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygw
> in/bin/java-launcher-Xmx100m -Dorg.jessies.libraryDirectories=;
> -Dorg.jessies.binaryDirectory=
> -Dorg.jessies.terminator.dotDirectory=
> -Dorg.jessies.terminator.logDirectory=
> -Dorg.jessies.terminator.serverPortFileName=
> -Dorg.jessies.terminator.optionsFile= -De.gui.HelpMenu.hasManual=true
> -De.gui.HelpMenu.supportAddress=terminat...@googlegroups.com-De.gui.H
> elpMenu.supportSite= http://groups.google.com/group/terminator-users
> -Djava.class.path=;;;;
> -De.util.Log.filename= -De.util.Log.applicationName=Terminator
> -Dorg.jessies.aboutBoxIcon= -Dorg.jessies.frameIcon=
> -Dorg.jessies.projectRoot= -Dorg.jessies.supportRoot=
> -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false
> terminator/Terminator Please copy this message to the clipboard with Ctrl-C
> and mail it to terminat...@googlegroups.com. (Windows won't let you
> select the text but Ctrl-C works anyway.) ---------------------------
> OK
> ---------------------------
> ---------------------------
> Uncaught exception
> ---------------------------
> An error occurred in Terminator:
> Exception RuntimeError: Java failed with #<Process::Status:
> pid=3880,exited(1)> Command line was:
> /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygw
> in/bin/java-launcher-Xmx100m -Dorg.jessies.libraryDirectories=;
> -Dorg.jessies.binaryDirectory=
> -Dorg.jessies.terminator.dotDirectory=
> -Dorg.jessies.terminator.logDirectory=
> -Dorg.jessies.terminator.serverPortFileName=
> -Dorg.jessies.terminator.optionsFile= -De.gui.HelpMenu.hasManual=true
> -De.gui.HelpMenu.supportAddress=terminat...@googlegroups.com-De.gui.H
> elpMenu.supportSite= http://groups.google.com/group/terminator-users
> -Djava.class.path=;;;;
> -De.util.Log.filename= -De.util.Log.applicationName=Terminator
> -Dorg.jessies.aboutBoxIcon= -Dorg.jessies.frameIcon=
> -Dorg.jessies.projectRoot= -Dorg.jessies.supportRoot=
> -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false
> terminator/Terminator at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/invoke-java.rb:
> 461:in`launch'
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/terminator/bin/terminator:97:in
> `launch0'
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in
> `launch'
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:1
> 22:in`call'
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:1
> 22:in`initialize'
> at /cygdrive/c/Program Files/
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:1
> 34:in`report_exceptions'
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in
> `launch'
> at /cygdrive/c/Program Files/
> software.jessies.org/terminator/Resources/terminator/bin/terminator:218
> Please copy this message to the clipboard with Ctrl-C and mail it to
> terminat...@googlegroups.com. (Windows won't let you select the text
> but Ctrl-C works anyway.) ---------------------------
> OK
> ---------------------------
>
>
>
>>> terminator-use...@googlegroups.com<terminator-users%2Bunsu
>>> bsc...@googlegroups.com>.
>> For more options, visit
>>
>>> this group at http://groups.google.com/group/terminator-users?hl=en.
>>>
>>>
>>>
>>
>>
>> --
>> Elliott Hughes, http://www.jessies.org/~enh/
>>
>>
>>
>> --
>>
>>
>> You received this message because you are subscribed to the Google
>> Groups
>> "terminator-users" group.
>> To post to this group, send email to terminat...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> terminator-use...@googlegroups.com<terminator-users%2Bunsubsc
>> ri...@googlegroups.com> .
>> For more options, visit this group at
>> http://groups.google.com/group/terminator-users?hl=en.
>>
>>
>>
>>
>
>
> --
> "Nobody will ever need more than 640k RAM!"
> -- Bill Gates, 1981
> "Windows 95 needs at least 8 MB RAM."
> -- Bill Gates, 1996
> "Nobody will ever need Windows 95."
> -- logical conclusion
>
>
> The issue is with XP
(That should make any reproduction easier, as I'm running XP too.)
> Are there any dependencies I am not aware of?
Not intentional ones. You've demonstrably got a working Cygwin, working Ruby and a highly plausible version of Java.
> Do you have a clue why it is failing while finding the Terminator class? [Error: FindClass("terminator/Terminator") failed.]
Yes...
> -Djava.class.path=;;;;
The class path gets set up by some code which does include a section that's conditional on whether it finds a Jdk. I thought that might be telling us something but then dotDirectory is being set to the empty string too. That's simple code:
dot_directory = ENV["TERMINATOR_DOT_DIRECTORY"]
if dot_directory == nil
home = ENV["HOME"]
dot_directory = "#{home}/.terminator"
end
...
invoker.add_pathname_property("org.jessies.terminator.dotDirectory", dot_directory)
def add_pathname_property(propertyName, pathname)
add_property(propertyName, convert_to_jvm_compatible_pathname(pathname))
end
def convert_to_jvm_compatible_pathname(pathname)
if target_os() != "Cygwin"
return pathname
end
# We used to call now-deprecated functions directly from cygwin1.dll.
# That was in order to prevent cygpath causing a console window to flash up.
# That was only believed to be an issue when run from a non-console Win32 application.
# Now our shortcuts run Ruby via ruby-launcher, a Cygwin application.
# That program ensures that stdout and stderr are open, which I now think is the active ingredient.
return `cygpath --windows '#{pathname}'`.chomp()
end
TERMINATOR_DOT_DIRECTORY isn't usually set. But, even if it, or HOME, expanded to the empty string, then we should see at least an error, if not a valid but non-existent path:
$ cygpath --windows ''
cygpath: can't convert empty path
$ cygpath --windows /.terminator
C:\cygwin-1.7\.terminator
$
Even if there were some kind of Dos line ending issue, surely that would leave us with a path that included a carriage return, not an empty string.
If target_os() were not exactly "Cygwin", then that wouldn't explain it either.
I wonder what this command produces for you:
$ echo hello `cygpath --windows /bin` world
hello C:\cygwin-1.5\bin world
$