Code Monkey home page Code Monkey logo

Comments (5)

Mpmart08 avatar Mpmart08 commented on July 22, 2024

We just haven't done any testing on Linux. This was developed on Windows, and it didn't take much effort to get it working on Mac, so I'm sure we could get it to work on Linux. I have a virtual machine setup with Ubuntu so I can do some testing.

from musicplayer.

chiehmin avatar chiehmin commented on July 22, 2024

I tried running the jar, but it stuck at this screen after import music library.

screenshot from 2016-07-02 13-16-39

from musicplayer.

chiehmin avatar chiehmin commented on July 22, 2024

Here's the error log.

Exception in thread "Thread-5" MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!
    at javafx.scene.media.MediaException.exceptionToMediaException(MediaException.java:146)
    at javafx.scene.media.MediaPlayer.init(MediaPlayer.java:511)
    at javafx.scene.media.MediaPlayer.<init>(MediaPlayer.java:414)
    at app.musicplayer.MusicPlayer.lambda$start$6(MusicPlayer.java:155)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.sun.media.jfxmedia.MediaException: Could not create player!
    at com.sun.media.jfxmediaimpl.NativeMediaManager.getPlayer(NativeMediaManager.java:274)
    at com.sun.media.jfxmedia.MediaManager.getPlayer(MediaManager.java:118)
    at javafx.scene.media.MediaPlayer.init(MediaPlayer.java:467)
    ... 3 more

It seems like javafx does not support newer version of libav. link

from musicplayer.

secdec24 avatar secdec24 commented on July 22, 2024

Thanks for the link. So it seems that JavaFX does not support the latest version of Ubuntu. Since there's nothing we can do about this, I'm closing the issue.

from musicplayer.

chiehmin avatar chiehmin commented on July 22, 2024

I think you can try to pack the dependent libraries with MusicPlay using snap

from musicplayer.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.