[jsyn] absolute beginner

jsyn at music.columbia.edu jsyn at music.columbia.edu
Sat Apr 14 17:55:01 EDT 2007


Hello Antonio

Command line compilation will work for these examples once you get  
Phil's Make suggestion going.  But it really does not offer a promising  
future for your further exploration of Java and JSyn.

Please consider using Eclipse, which is a free Java IDE  
(www.eclipse.org).

Good luck!
Nick

On Apr 14, 2007, at 2:36 PM, jsyn at music.columbia.edu wrote:

> Hi,
> sorry guys for this very beguinner troubles, but I really cannot  
> figure out how to run any of the examples in the tutorial.
> I executed the "install_jsyn.command" so now the .jar and the  
> libJSynV142.jnilib files are in my java/extensions folder
> Every applet in the tutorials work fine , but when I try to run a  
> .class file nothing happens.
> I tried with MacOSX terminal with the java command, but only  
> exceptions spring out
>
> I did many tries, basically this way:
>
> Compiled the file TJ_Beep.java with javac
>
> omicron:/Applications/Audio Pro/JSyn/jsyn142macosxSDK/classes/mystuff  
> Toni$ javac TJ_Beep.java
> Note: TJ_Beep.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> omicron:/Applications/Audio Pro/JSyn/jsyn142macosxSDK/classes/mystuff  
> Toni$
>
> then I have my .class file.
> but when I enter: java TJ_Beep I get:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: TJ_Beep  
> (wrong name: mystuff/TJ_Beep)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at  
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 
> 124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at  
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at  
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>
>
> Same with the VerySimpleSound example in the tutorial.
> What's wrong with?
> I tried with adding classpath, -jar, moving files, restarting,  
> renaming.... uff!
>
>
>
> I did the diagnostic applet online:
> java.version = 1.5.0_07
> java.vendor = Apple Computer, Inc.
> os.name = Mac OS X
> os.arch = ppc
> os.version = 10.4.8
> SUCCESS #1 - Loaded JSyn com.softsynth.jsyn.CuePoint Class.
> SUCCESS #2 - Loaded JSyn com.softsynth.support.JSynDiagnostic Class.
> SUCCESS #3 - Loaded DLL version 142.
> SUCCESS #4 - Started JSyn in NON-real-time!
> SUCCESS #5 - Started JSyn for output in real-time-mode.
> SUCCESS #6 - Started JSyn for input in real-time-mode.
> SUCCESS #7 - Started JSyn for simultaneous input AND output in  
> real-time-mode.
>
>
> Here are my browser characteristics:
> navigator.appName     = Netscape
> navigator.appCodeName = Mozilla
> navigator.appVersion  = 5.0 (Macintosh; U; PPC Mac OS X; it-it)  
> AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3
> navigator.platform    = MacPPC
> navigator.userAgent   = Mozilla/5.0 (Macintosh; U; PPC Mac OS X;  
> it-it) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3
> document.layers is UNdefined.
> document.all is UNdefined.
> Java is enabled for this browser.
>
> I bought a huge java manual, but please... some hints are highly  
> appreciated..
>
> antonio
>
> _______________________________________________
> JSyn mailing list
> JSyn at music.columbia.edu
> To change digest mode or to make other administrative changes visit:
> http://music.columbia.edu/mailman/listinfo/jsyn



More information about the JSyn mailing list