Menu

#138 Error: Could not find or load main class webcamstudiofx.WebcamStudioFX

1.0
New
nobody
None
High
Linux
Unspecified
Other
2016-06-16
2016-03-08
Cris Teix
No

Using the proper SE JDK 8. Conversely, 0.73 just works.

λ space ~ → java -jar ~/Downloads/WebcamStudioFX_1.0_Alpha_r01/dist/WebcamStudioFX.jar
Error: Could not find or load main class webcamstudiofx.WebcamStudioFX

At any rate, I've got a question regarding 0.73: is it working with skype? I've read mixed reviews, but since android's skype version is buggy, I can't really call myself and skype's test "feature" doesn't work (some comments stated it works in a call, but you get no image through skype).

Discussion

  • Soylent TV

    Soylent TV - 2016-03-09

    Hi Cris Teix and thanks for the feedback.
    Like i told in the Readme file icluded in WebcamStudioFX alpha archive:
    "You must have Oracle Java8 installed (not OpenJDK8) and set it as default Java as well."
    Oterwise "...or Openjdk-8 with OpenJfx."
    But there isn't Openjfx if your system is Ubuntu 14.04.
    About Skype see this post:

    https://plus.google.com/+RolandRolandiXorTaylor/posts/Arft7aFjQv9

    In particular:
    1) Completely exit Skype (using the quit command)
    2) Open WS and add your Webcam stream.
    3) Play your Webcam stream.
    4) Go to the output tab and select "UYUV" in the pixel format and start WSVideo Device.
    5) Start your application (Skype), log in and try to select the virtual cam under options -> Video
    6) The picture should be there. Don't worry if is horizontally flipped, the friends will see that right.

    Have a good day.
    karl

     
  • Cris Teix

    Cris Teix - 2016-03-10

    I read the readme and specified I am using Oracle's Java8, namely, this one: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html, which is selected as the default system-vm:

    λ space ~ → eselect java-vm list
    Available Java Virtual Machines:
      [1]   icedtea-bin-7 
      [2]   oracle-jdk-bin-1.8  system-vm
    

    I am on gentoo.


    As for the skype thingy: thanks!
    I have another question though: how come whenever I record a video I get no sound? Documentation is a bit confusing in this regard, since it deals with non-webcam streams mostly.

     

    Last edit: Cris Teix 2016-03-10
  • Soylent TV

    Soylent TV - 2016-03-10

    Hi Cris,
    i'm sorry but i don't really know why with Oracle JDK8 under Gentoo it doesn't works ...

    Have you try anyway to install or compile OpenJfx?
    Have you try others JavaFX applications?
    Consider that WSFX It's still on Alpha Stage ... maybe when i will have time i will release the code and so you will be able to checkout in Netbeans ...
    In the meanwhile thanks for testing, yours it is the first feedback for WSFX :)

    For 0.73 Documentation is confusing and i know it ...
    To have audio you can add an AudioSource stream (The little speaker on the top sources toolbar). Once you add it, go in the AudioIns TAB and you will find it. You can select the audio sources using the little "MiniJack" icon. Select the one you want and try Play the stream. You will see a Waveform accordling to your input. Because the AudioSource has a Video Weaveform output I suggest you to let it enable only for testing puposes. Once you get the right one, stop the AudioIn, disable video using the little crossed monitor and then set a layer under the "Webcam Stream-Panel", for example the webcam will be at 0 and the audio at -1.
    Finally Play the Webcam, the AudioIn and start the record.

    To record the video you have to use Output -> Default Tab -> Record button.

    To have an audio to speaker preview use the Output -> Audio -> Audio Out button but be carefull with the loopback.

    Hope this heps.
    karl

     
  • Cris Teix

    Cris Teix - 2016-06-16

    Can close this one. Works with the latest jdk.

     

Log in to post a comment.