Re: java Windows Media Player
From: Alessandro Angeli [MVP::DigitalMedia] (nobody_at_nowhere.in.the.net)
Date: 01/09/05
- Next message: Prometheus: "Re: java Windows Media Player"
- Previous message: Prometheus: "Re: java Windows Media Player"
- In reply to: Prometheus: "Re: java Windows Media Player"
- Next in thread: Prometheus: "Re: java Windows Media Player"
- Reply: Prometheus: "Re: java Windows Media Player"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 9 Jan 2005 04:04:20 +0100
Prometheus wrote:
> hmmm interesting... I was considering using J# but can
> you tell me if i can import my own set of classes.
> basically, I have a jar file library with bluetooth API
> written in Java (the BlueCove project at
> www.sourceforge.net and also found on www.benhui.net)
> I was going to make some server code in normal java since
> I successfully set up hte new API Jar file. But can J#
> handle external jar file librairies? if so then how may i
> go about importing this jar file into J# (without
> rewriting the original source code of the library if
> possible)
J# is compiled into .NET bytecode and provides a Java
1.1-compatible class library so, if you have the source code
and it is 100% pure Java and it only uses 1.1 features, you
may successfully recompile it with J#. But you can not just
use compiled JVM bytecode, as found in a JAR, because the
VMs are not compatible.
Even if you have the source code and it meets the
requirements, a Bluetooth library is most likely going to
use JNI to access the hardware through the native system
(which would make it not 100% pure Java) and JNI is not
supported in J#, since the .NET VM uses a very different
native linking mechanism. You can add JNI support to .NET/J#
using <http://www.jnbridge.com/>, but I've never used it so
I don't know more. It also says it adds support to .NET for
execution of JVM bytecode, which may be useful to you.
Another integration library you can try:
<http://j-integra.intrinsyc.com/>.
-- // Alessandro Angeli // MVP :: Digital Media // a dot angeli at psynet dot net
- Next message: Prometheus: "Re: java Windows Media Player"
- Previous message: Prometheus: "Re: java Windows Media Player"
- In reply to: Prometheus: "Re: java Windows Media Player"
- Next in thread: Prometheus: "Re: java Windows Media Player"
- Reply: Prometheus: "Re: java Windows Media Player"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|