Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / June 2005

Tip: Looking for answers? Try searching our database.

Why is the J# Redistributable package needed?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fredrik Skånberg - 26 May 2005 13:19 GMT
Hi!

Why is the J# Redistributable Package needed to run a J# application? Or
can I just redistribute some assemblies?

For example, if I develop an application in Borland Delphi using
WinForms, I can compile this application to an exe file. This exe file
can be executed on any computer that has the .Net Runtime Framework
installed. No Delphi .Net Redistributable Package exists.

If I develop an application in Dephi using the VCL.NET api all I have to
do is to redistribute the VCL.NET assembly. That's easy. No problem here.

So the fact is that it is possible to develop a new language for .Net
(Object Pascal) and don't require some special installation packages.
And it makes sense since the exe file is language independent IL code.

Why is J# so special? Or is it?

/Fredrik
William DePalo [MVP VC++] - 26 May 2005 15:47 GMT
> 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
George Birbilis [MVP J#] [9880] - 06 Jun 2005 18:20 GMT
> 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
........................................................................

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.