problem running PDSRunner OS X 10.4.5

For talk and Help about everything concerning TV-Browser.
Antworten
bucko

problem running PDSRunner OS X 10.4.5

Beitrag von bucko »

Sorry If this has been asked before, but I have a problem with running PDSRunner.

This is what I get:

Code: Alles auswählen

$ ./pdsrunner.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: primarydatamanager/PDSRunner (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
my java version:

Code: Alles auswählen

java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
Any thoughts?
Thanks in advance.
Benutzeravatar
bodo
Site Admin
Beiträge: 19635
Registriert: 03 Dez 2003, 19:37
Wohnort: Köln
Kontaktdaten:

Beitrag von bodo »

You have to update to Java 1.5 to use it.
bucko

Beitrag von bucko »

Heh! Thanks for your fast reply.

I could have figured that out myself... :oops:

dl-ing java 1.5 now,

thanks again.
bucko

..another problem

Beitrag von bucko »

After installing java 1.5, pdsrunner now works when I give it no arguments. Unfortunately when I try 'pdsrunner simplepds' I get all kinds of errors;

Code: Alles auswählen

Exception in thread "main" java.lang.NoClassDefFoundError: tvbrowser/core/tvdataservice/TvDataServiceProxy
        at SimplePDS.<init>(SimplePDS.java:32)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at primarydatamanager.PrimaryDataManager.createPrimaryDataService(PrimaryDataManager.java:226)
        at primarydatamanager.PDSRunner.main(PDSRunner.java:170)
I don't know any java so this means nothing to me.
Any help would be appreciated.

PS, java -version:

Code: Alles auswählen

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
Benutzeravatar
bodo
Site Admin
Beiträge: 19635
Registriert: 03 Dez 2003, 19:37
Wohnort: Köln
Kontaktdaten:

Beitrag von bodo »

We will release a new Version of the Data-Kit shortly. In it we will have fixed that issue.

Quick-Fix for you:
Copy the Lines from setClasspath.sh into the pdsrunner.sh.
bucko

Beitrag von bucko »

thx for the reply.

I've tried your suggested 'quick-fix' (and a whole lot of probably stupid things I could come up with), but to no avail.

I just wait for for the new version.

Keep it up... software looks great!
Antworten