How to call a x.class function from JScript (Java newbie)

P

Peter Hemmingsen

Hi

My background is C and C# development on MS platform so I'm new to Java.

I've written a HTML file that makes a call to my own Jscript file as
follows:

<script type="text/jscript" language="jscript" src="Script.js"></script>

Now I want to call a function in a xxx.class file. (In fact the class file
is the Lucene search engine that I just downloaded). Could someone please
show me how to do this.

My goal is to create a self-contained CD with files and the Lucene search
engine to search inside the files (I will of course build the Lucene index
etc. before creating the CD). I would prefer to use the Lucene.NET version
(as I'm a .Net developer) but as far as I can see its not possible to do
this on a self-contained CD as it would require the frame work (and maybe
IIS?) to be installed on the PC.

I want a CD that can be read by (almost) any Windows PC with IE.

Your comments and suggestions would be highly appreciated.

Peter
 
M

Marc

Peter Hemmingsen said:
Hi

My background is C and C# development on MS platform so I'm new to Java.

I've written a HTML file that makes a call to my own Jscript file as
follows:

<script type="text/jscript" language="jscript" src="Script.js"></script>

Now I want to call a function in a xxx.class file. (In fact the class file
is the Lucene search engine that I just downloaded). Could someone please
show me how to do this.

My goal is to create a self-contained CD with files and the Lucene search
engine to search inside the files (I will of course build the Lucene index
etc. before creating the CD). I would prefer to use the Lucene.NET version
(as I'm a .Net developer) but as far as I can see its not possible to do
this on a self-contained CD as it would require the frame work (and maybe
IIS?) to be installed on the PC.

I want a CD that can be read by (almost) any Windows PC with IE.

Your comments and suggestions would be highly appreciated.

Peter

I think your best bet would be asking this in a Java newsgroup... allthough
there might be people around here that know how to call Java objects from
Javascript...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top