rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.11k stars 463 forks source link

unsupported Java version: 9 #96

Closed denixx closed 3 years ago

denixx commented 7 years ago
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Screen Capturer Recorder\configure>"configure by setting specific screen capture numbers  Screen Capturer Recorder.lnk"
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.jruby.Main.(Main.java:99)
        at org.jruby.Main.main(Main.java:193)
Caused by: java.lang.RuntimeException: unsupported Java version: 9
        at org.jruby.RubyInstanceConfig.initGlobalJavaVersion(RubyInstanceConfig.java:1835)
        at org.jruby.RubyInstanceConfig.(RubyInstanceConfig.java:1585)
        ... 2 more
rdp commented 6 years ago

whoa cutting edge!

denixx commented 6 years ago

Yes, I know it's too fresh, but it's time to think about it. :)

denixx commented 6 years ago

Is there a Ruby unsupporting it?

davidleon commented 6 years ago

i tried to replace the jruby complete jar from the jruby website. it runs ok. but it doesn't kill the ffmpeg gracefully, thus the output can't be played. I think it's a better idea use python to implement the configure utility. Since it doesn't rely on java. so nothing like that could break the software itself.

rdp commented 6 years ago

kill, like on exit? Maybe file a separate issue about that...thanks!

On Sun, Feb 4, 2018 at 2:18 AM, davidleon notifications@github.com wrote:

i tried to replace the jruby complete jar from the jruby website. it runs ok. but it doesn't kill the ffmpeg gracefully, thus the output can't be played. I think it's a better idea use python to implement the configure utility. Since it doesn't rely on java. so nothing like that could break the software itself.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/96#issuecomment-362892740, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0GcXjGLkEgb-FAHsyU6VbujC8iPjks5tRXXRgaJpZM4QRKEe .

mvorisek commented 4 years ago

image

@rdp This issue is still presented. As newer Java versions are today very common, can this repo be update to support the newest one? Or distribute Java 8 JRE with?

mvorisek commented 4 years ago

@denixx @rdp this issue is resolved in release https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases/tag/v0.12.11 , see https://github.com/rdp/screen-capture-recorder-to-video-windows-free/pull/132 , so it can be closed