Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 19-07-2010
Member
 
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.
Reply With Quote
  #2  
Old 19-07-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
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.
Reply With Quote
  #3  
Old 19-07-2010
Member
 
Join Date: May 2008
Posts: 2,383
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.
Reply With Quote
  #4  
Old 19-07-2010
Member
 
Join Date: Feb 2008
Posts: 1,848
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.
Reply With Quote
  #5  
Old 19-07-2010
Member
 
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
Reply With Quote
  #6  
Old 19-07-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
  #7  
Old 20-07-2010
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Java Tv API"
Thread Thread Starter Forum Replies Last Post
Java Auto Updater wants me to update java everyday in Windows 7 minajoh Windows Software 4 04-09-2013 11:04 PM
Setting Of Java to The Point At Manual Java winni Software Development 4 10-01-2011 10:05 PM
Java Programming using Adventnet SNMP Java API ROCKING_Suhas Software Development 5 17-07-2010 06:52 AM
Link List Example in Java Sample program in Java trickson Software Development 2 04-08-2009 08:23 PM


All times are GMT +5.5. The time now is 10:07 PM.