How to import .class file in a .java file?

Posted by Namratha on Stack Overflow See other posts from Stack Overflow or by Namratha
Published on 2010-03-19T14:17:40Z Indexed on 2010/03/19 14:21 UTC
Read the original article Hit count: 148

Filed under:
|
|

Hi,

What i need to do is as follows:

  1. I have a bigloo scheme program (*.scm), then using the bigloo frameworks jvm a class file is generated.

  2. I want to use this .class file from a .java file. That is, i need to import this(.class) file as i want to use some functions defined in the scheme file which is now a .class file.

  3. How do i do it in Eclipse? i have created two packages one for java and one for the .class file. Then i import the package containing the .class file. But i am not able to use the function in the .class file in the .java file. Are there any settings to be done?

Please let me know how this can be done.

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse