New beginner of JAVATV

iSorry to post a a question like this, but i try to find the answer by search the

former threads ,but i can;t make it .so i have to do this.

My first question is:

Is the JDK for JAVATV must be 1.3?

and i meet the errors like this:

[root@localhost linux-i686]# make BASIS_HOME=/home/phoneme_advanced-mr2/ JDK_INCLUDE_DIR=/home/java/include

Compiling JavaTV classes...

../../src/share/javatv/classes/java/net/DatagramSocket.java:214: cannot resolve

symbol

symbol : variable anyLocalAddress

location: class java.net.InetAddress

laddr = InetAddress.anyLocalAddress;

^

../../src/share/javatv/classes/java/net/DatagramSocket.java:469: cannot resolve

symbol

symbol : variable anyLocalAddress

location: class java.net.InetAddress

in = InetAddress.anyLocalAddress; // "0.0.0.0"

^

../../src/share/javatv/classes/java/net/MulticastSocket.java:129: cannot resolve symbol

symbol : variable anyLocalAddress

location: class java.net.InetAddress

impl.bind(port, InetAddress.anyLocalAddress);

^

../../src/share/javatv/classes/com/sun/tv/net/EncapDatagramSocketImpl.java:44: com.sun.tv.net.EncapDatagramSocketImpl is not abstract and does not override abstract method leaveGroup(java.net.SocketAddress,java.net.NetworkInterface) in java.net.DatagramSocketImpl

public class EncapDatagramSocketImpl extends DatagramSocketImpl implements SourceTransferHandler {

^

Note: ../../src/share/javatv/classes/java/net/MulticastSocket.java uses or overrides a deprecated API.

Note: Recompile with -deprecation for details.

4 errors

make: *** [.compile.javatvclasses] Error 1

and thrid. how can i include TV API for J2ME CDC ?

[1789 byte] By [vicent_chinaa] at [2007-11-27 4:30:28]
# 1

1) JavaTV 1.1 requires JDK 1.3 equivalence, i.e. CDC/FP/PBP 1.0 or 1.1. JavaTV 1.0 can be used on almost any JDK. Mostly it's used with CDC/FP/PBP 1.0 these days.

2) Problems compiling phoneME advanced should be asked in the phone ME advanced forum.

3) There's not really any openly available JavaTV implementation which is useful except for XletView which is getting a bit old.

http://xletview.sourceforge.net/

desperadoa at 2007-7-12 9:39:45 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

Thanks !

but why this is the problems of phonemeAdvance , i download the PBP and TVAPI 1.1 from the sun ,and try to the "make " command line like the TVAPI doc says, i meet the above problems.

I did try to compile the PBP myselt for x86(i fail )and PBP for arm (i make it ),this kinds of thing i really have to post on the Advance forum , but my questions is ,why TVAPI only for x86 ?

vicent_chinaa at 2007-7-12 9:39:45 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

this is the new errors i meet today ,can somebody tell me why?

[root@localhost jtv-1_1-linux-x86-1]# ${BASIS_HOME}/bin/cvm -Djava.class.path=${JAVATV_HOME}/javatv.jar:${JAVATV_HOME}/j2me_cdc_xml.jar:${TEST_DIR} -Djava.library.path=${JAVATV_HOME}/lib RunXlet -n SvcDispXlet

Running Xlet named: SvcDispXlet

ServiceFile: com.sun.tv.receiver.ReceiverFile

JMFProperties: readProperties

java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler

at java.lang.Class.loadSuperClasses(Unknown Source)

at sun.misc.Launcher$AppClassLoader.defineClassPrivate(Unknown Source)

at sun.misc.Launcher$AppClassLoader.access$500(Unknown Source)

at sun.misc.Launcher$4.run(Unknown Source)

at java.security.AccessController.doPrivileged(Unknown Source)

at java.security.AccessController.doPrivileged(Unknown Source)

at sun.misc.Launcher$AppClassLoader.doClassFind(Unknown Source)

at sun.misc.Launcher$AppClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at com.sun.tv.receiver.SIEmulator.runData(Unknown Source)

at com.sun.tv.receiver.SIEmulator.<init>(Unknown Source)

at RunXlet.setUp(Unknown Source)

at RunXlet.main(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.misc.CVM.runMain(Unknown Source)

vicent_chinaa at 2007-7-12 9:39:45 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4

The key line in the error report is this one;

java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler

at java.lang.Class.loadSuperClasses(Unknown Source)

This means that the JavaTV implementation you have needs an implementation of org/xml/sax, i.e. one of the XML parsing APIs.

You should consult the documentation for that JavaTV implementation to see what it says about dependencies.

desperadoa at 2007-7-12 9:39:45 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5

Thx,but where can i download documentation about the dependencies?

and do you men ,i have to download the the XML parsing APIs, and also the JMF or JMFLite?

BTW,where can i download TV API for windows ,or is there any? because i only found the TV 1.0 for windows, and TV1.1 for Linux?

who come ?and TV API can only be run on the x86 cpu?

vicent_chinaa at 2007-7-12 9:39:45 > top of Java-index,Java Mobility Forums,Consumer and Commerce...