This content has been marked as final. Show 6 replies
By the looks of the jars in you classpath I guess you are using XleTView. XleTView is an emulator for testing Xlets that are already compiled, it's not meant to be used to compile with. But IF you still decide to do it anyway you should also include the xletview.jar which contains the havi package. My recommendation is that you get your own separate stubs for compiling, this to be sure that you are really only using classes and methods defined in MHP. xletview.jar containes all classes used in the emulator, not only MHP classes.
You can make a stub jar with the classes you find here:
and then use that + the javatv.jar found in XleTView
I hope you understand what I mean, want to help you but had to write this in a hurry so I don't know if it's easy to understand. Didn't want you to have to wait longer to be able to compile. Try it out and if you still have problems post it here, I will read this forum later this weekend.
Beiker, thanks a lot for your mega-quick help. Anyway, I have just read your answer...
I understand what you mean, but my question is: to build the .jar file do I have to compile the .java files included in
first? Because I guess I must make the jar file out of .class files, and not .java.
Am I right?
P.S. I have extracted the file xletview.jar (it was previously included in my classpath, and didn't work, either), and the file HScene.class is included in it. So I cannot understand why my compiler can't find HScene... :`-(
Yes, first you have to compile the java files into class files. I think a lot of people have trouble finding what they need to get going with MHP so I put the jar here:
Include that jar in your classpath and it should work, anyway tell me how it goes.