Results 1 to 7 of 7

Thread: Java Tv API

  1. #1
    Join Date
    Mar 2010
    Posts
    54

    Java Tv API

    Is there anyone who can help me for Java Tv API. The thing is that I have downloaded the Java Tv API in for creating the classes for the MHP technology in order to create the classes. But I am not able to achieve the thing that I want to do. It is marking import libraries in red. To be more precise “import javax.tv.xlet.Xlet;”. I need the solution for solving this problem. Any help related to this will be appreciated.

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Java Tv API

    The thing is that when you are trying to import Xlet interface then you are implementing all the necessary methods. void destroyXlet this is used for terminating and destroying the state. void initXlet this used for initializing the thing and enteringthe Paused state. void pauseXlet, this stop providing the services and then enter the paused state. void startXlet this will given the siganal to Xlet and starts providing the services and after that enter the Active state.

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Re: Java Tv API

    I think that you need to configure you jbuilder for adding a classpath library. And for doing this you need to go to tools or Configure Libraries. After that create a new library by adding your JAR file. Go into the properties of your project and add the library you just created. I hope this will help you, if you have any other problem then let me know I will try to resolve the issue.

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Java Tv API

    Can you provides some more information related to your setup or the classpath that you are using for the implementation of JavaTV . You are simply saying that it is not working that does not explains anything related to your problem. The only thing I am able to find out that the JavaTV classes in the class path is having the issues. But I will require more information for providing the solution for the problem. I hope you understand what I am trying to convey.

  5. #5
    Join Date
    Mar 2010
    Posts
    54

    Re: Java Tv API

    I am currently working on a project that requires external libraries. I use my JBuilder and properties of projects I try to add the directory path that contains the config lib in my library, it takes me the *. jar. However, I have a precompiled version of the project, so I know it works but I execute a bat file which reads the source
    Code:
     
    @ Echo off 
    script if exist \ run.bat goto RUN 
    if exist run.bat goto UPRUN 
    echo Put yourself in the script directory and run run.bat 
    echo. 
    goto END 
    : UPRUN 
    cd .. 
    goto RUN 
    : RUN 
    TEMP_CLASSPATH set CLASSPATH =%% 
    set CLASSPATH = class; lib \ gl4java.jar; lib \ png.jar;% CLASSPATH% 
    set PATH =% PATH%; lib 
    java SimAntMain 
    cd script 
    set CLASSPATH =%% TEMP_CLASSPATH 
    pause 
    : END
    and when I try to run with JBuilder, I get this error:
    Sorry, cannot find the library: GL4JavaJauGljJNI14
    java.lang.UnsatisfiedLinkError: no GL4JavaJauGljJNI14 in java.library.path

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Java Tv API

    Try to add the existing library the method for that is given in the above reply, if you are uncomfortable with that then you need to specify the java.library.path, as stated in the error message, since this is an argument to pass to the jvm with-D. “java-Djava.library.path = <path the directory where the dll HERE> mon.package.MaClass ” Try these thing and I am sure you will be able to solve the problem.

  7. #7
    Join Date
    Feb 2010
    Posts
    766

    Re: Java Tv API

    Configure the classpath in JCreator: Set > Option > JDKProfiles. Then the sheet was all jar file and the "classpath" of JCreator. Add PATH to add a folder, and Add to add a jar archive and for configuring the classpath in JBuilder : Tools > Configure JDK. It displays the list of jar file and classpath To add: "Add" put your classes, in your jars etc. This is specific steps that need to perform.

Similar Threads

  1. Replies: 4
    Last Post: 04-09-2013, 11:04 PM
  2. Setting Of Java to The Point At Manual Java
    By winni in forum Software Development
    Replies: 4
    Last Post: 10-01-2011, 10:05 PM
  3. Java Programming using Adventnet SNMP Java API
    By ROCKING_Suhas in forum Software Development
    Replies: 5
    Last Post: 17-07-2010, 06:52 AM
  4. Link List Example in Java Sample program in Java
    By trickson in forum Software Development
    Replies: 2
    Last Post: 04-08-2009, 08:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,057,869.48820 seconds with 17 queries