{"action":"opened","issue":{"url":"https://api.github.com/repos/alda-lang/alda/issues/173","labels_url":"https://api.github.com/repos/alda-lang/alda/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/alda-lang/alda/issues/173/comments","events_url":"https://api.github.com/repos/alda-lang/alda/issues/173/events","html_url":"https://github.com/alda-lang/alda/issues/173","id":127070611,"number":173,"title":"Not starting under OpenJDK","user":{"login":"190n","id":7763597,"avatar_url":"https://avatars.githubusercontent.com/u/7763597?v=3","gravatar_id":"","url":"https://api.github.com/users/190n","html_url":"https://github.com/190n","followers_url":"https://api.github.com/users/190n/followers","following_url":"https://api.github.com/users/190n/following{/other_user}","gists_url":"https://api.github.com/users/190n/gists{/gist_id}","starred_url":"https://api.github.com/users/190n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/190n/subscriptions","organizations_url":"https://api.github.com/users/190n/orgs","repos_url":"https://api.github.com/users/190n/repos","events_url":"https://api.github.com/users/190n/events{/privacy}","received_events_url":"https://api.github.com/users/190n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-17T02:56:51Z","updated_at":"2016-01-17T02:56:51Z","closed_at":null,"body":"So, I was installing Alda on my laptop, running Ubuntu 15.10 with OpenJDK 8:\r\n\r\n```\r\n$ java -version\r\nopenjdk version \"1.8.0_66-internal\"\r\nOpenJDK Runtime Environment (build 1.8.0_66-internal-b17)\r\nOpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)\r\n```\r\n\r\nI can see the help message, but I can't start the REPL, or play a test file.\r\n\r\nStarting the REPL:\r\n\r\n```\r\n$ alda repl\r\nJan 16, 2016 6:53:04 PM com.jsyn.engine.SynthesisEngine start\r\nINFO: Pure Java JSyn from www.softsynth.com, rate = 44100, RT, V16.7.3 (build 457, 2014-12-25)\r\njava.lang.UnsatisfiedLinkError: no icedtea-sound in java.library.path\r\n\tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)\r\n\tat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n\tat java.lang.System.loadLibrary(System.java:1122)\r\n\tat org.classpath.icedtea.pulseaudio.SecurityWrapper.loadNativeLibrary(SecurityWrapper.java:66)\r\n\tat org.classpath.icedtea.pulseaudio.EventLoop.<clinit>(EventLoop.java:97)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:654)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)\r\n\tat com.jsyn.devices.javasound.JavaSoundAudioDevice$JavaSoundOutputStream.start(JavaSoundAudioDevice.java:209)\r\n\tat com.jsyn.engine.SynthesisEngine.run(SynthesisEngine.java:356)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nJan 16, 2016 6:53:04 PM com.jsyn.engine.SynthesisEngine run\r\nINFO: JSyn synthesis thread in finally code.\r\n\r\n █████╗ ██╗     ██████╗  █████╗ \r\n██╔══██╗██║     ██╔══██╗██╔══██╗\r\n███████║██║     ██║  ██║███████║\r\n██╔══██║██║     ██║  ██║██╔══██║\r\n██║  ██║███████╗██████╔╝██║  ██║\r\n╚═╝  ╚═╝╚══════╝╚═════╝ ╚═╝  ╚═╝\r\n\r\n            v1.0.0-rc3\r\n         repl session\r\n\r\nType :help for a list of available commands. \r\n\r\nLoading MIDI synth... Exception in thread \"main\" java.lang.NoClassDefFoundError: Could not initialize class org.classpath.icedtea.pulseaudio.EventLoop\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:654)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94)\r\n\tat org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)\r\n\tat com.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:1072)\r\n\tat com.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:1032)\r\n\tat alda.sound.midi$open_midi_synth_BANG_.invoke(midi.clj:60)\r\n\tat alda.sound$eval6812$fn__6814.doInvoke(sound.clj:26)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:423)\r\n\tat clojure.lang.MultiFn.invoke(MultiFn.java:233)\r\n\tat alda.sound$set_up_BANG_.doInvoke(sound.clj:36)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:410)\r\n\tat alda.repl$start_repl_BANG_.doInvoke(repl.clj:46)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:457)\r\n\tat clojure.lang.Var.invoke(Var.java:394)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:165)\r\n\tat clojure.lang.Var.applyTo(Var.java:700)\r\n\tat alda.Util.callClojureFn(Util.java:197)\r\n\tat alda.AldaServer.startRepl(AldaServer.java:400)\r\n\tat alda.Client.main(Client.java:314)\r\n```\r\n\r\nPlaying a test file:\r\n\r\n```\r\n$ cat test.alda\r\n(tempo! 60)\r\nc8 d e f g f e d c2\r\n$ alda play -f test.alda\r\n[27713] Starting Alda server...\r\n[27713] Server down ✗\r\n[27713] ERROR Connect to localhost:27713 [localhost/127.0.0.1] failed: Connection refused\r\n```\r\n\r\nIt also works fine under Oracle's JVM."}}