> Why is J# so special? Or is it?
It is because it includes support for a Java-like class library that is not
part of main framework.
Regards,
Will
Fredrik Skånberg - 27 May 2005 08:42 GMT
> It is because it includes support for a Java-like class library that is not
> part of main framework.
Yes, I can understand that I need to redistribute all class libraries
that I use.
For example, if I'm developing a .Net application with Borland Delphi
using Borlands class library VCL.NET I need to redistribute the file
Borland.VCL.dll with my application. That file is of course not included
in the main framework.
But I _don´t_ need to install some "Borland Delphi Redistributable
Package for .Net".
So my question remains: Why does J# applications require the J#
Redistributable Package? What is that installer doing? Why can't I just
redistribute those class library I'm using?
Or if I'm developing a J# application that only uses classes from the
main framework? In that case J# package shouldn't be needed.
I'm starting to guess that J# applications isn't pure IL code.
/Fredrik
William DePalo [MVP VC++] - 27 May 2005 21:10 GMT
> I'm starting to guess that J# applications isn't pure IL code.
To be honest, I don't know how it is implemented.
Regards,
Will
> Why is the J# Redistributable Package needed to run a J# application? Or
> can I just redistribute some assemblies?
[quoted text clipped - 10 lines]
> (Object Pascal) and don't require some special installation packages.
> And it makes sense since the exe file is language independent IL code.
Delphi maybe compiles all the VCL etc. stuff into your assembly (as it does
on Win32 - it has two options, to build a single .exe or use dynamic
packages [dlls]). J# isn't supporting such a thing, although maybe it would
be nice if it could. Problem is that some J# library classes need more
privildges than your app code (say the Java security manager, class loader
etc.), so if the installer compiled that stuff into your app you could hack
it and gain more privildeges for your app code too
if you copied the signed J# libraries with your app it should work I think,
but maybe MS don't want you to ship arround various versions of their
libraries (which is bad, since .NET allows one to have private assemblies
for just their own application [in same folder] without affecting other
apps, just to be sure that after an app is tested it works [quite] as
expected since it ships the libraries it had been tested with and doesn't
use shared libraries, if developer choose to do so)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com>
Microsoft Most Valuable Professional
MVP J# for 2004, 2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime (Delphi & ActiveX: VB, PowerPoint, .NET)
+ Plugs (InterProcess/Internet communication)
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
........................................................................