Solved

How to include j# redist inside VS Setup Project?

Posted on 2008-10-21
4
1,102 Views
Last Modified: 2013-12-16
I've got msg "type initializer for 'java.lang.System' threw an exception." when trying to running my application in client computer.
I've already put vjslib.dll, vjslibcw.dll,vjsvwaux.dll,vjscor.dll, vjslib.tlb into same location with the application file but still get same error.


Someone could help me to bundle j# redist in one setup project ? So I might not carry twice out the installation.
0
Comment
Question by:iphone
  • 2
4 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
If you use the clickOnce (publish) application method, it will handle the installation of dependencies like the .NET framework in this case J# .NET automagically.  This is not the only way, but is a simple method you can try directly from Visual Studio.  Hope that helps.

Regards,
Kev
0
 

Author Comment

by:iphone
Comment Utility
Thanks for reply Kev,

When using publish method, I cannot find is an option for the user to select where they want to install the program at.
My application is a simple desktop application program with compress and decompress file method function inside it, that's why i need j# library.

Additional info about this application is i using visual studio 2008 with vb.net language and .NET Framework 3.5.

Thanks.


0
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
Comment Utility
When you use publish there is an option to make the application available offline as well and it puts in programs / start menu.  
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now