You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app breaks (seemingly only on Windows) at the first line require "jrubyfx" with what seems to be an error related to the :BY\ in its path..
>java -jar main.jar
Errno::ENOENT: No such file or directory - uri:classloader:BY\jrubyfx.rb
realpath at org/jruby/RubyFile.java:864
require_relative at uri:classloader:/jruby/kernel/kernel.rb:11
<main>at uri:classloader:/jrubyfx.rb:34
require at org/jruby/RubyKernel.java:961
(root) at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
<main>at classpath:/jar-bootstrap.rb:1
The text was updated successfully, but these errors were encountered:
looks like on windows "/THIS_IS_A_FAKE_PATH_FOR_JRUBY" is not treated as absolute path and handled differently somewhere else. a c:\THIS_IS_A_FAKE_PATH_FOR_JRUBY might work for windows platforms. @stergiom fancy to patch and try it out ?
has been attempted at cbf9a7d
... using a fake root path, however on Windows /SMT expands as C:\SMT
added '__' at the end so its more obvious if this is slightly off again
closesjruby#4630 (also jruby#4645)
Expected Behavior
A working Jar
Actual Behavior
The app breaks (seemingly only on Windows) at the first line
require "jrubyfx"
with what seems to be an error related to the:BY\
in its path..The text was updated successfully, but these errors were encountered: