Solved

How to include j# redist inside VS Setup Project?

Posted on 2008-10-21
4
1,110 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 22792369
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
ID: 22805439
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 60

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 22806049
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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