Solved

How to include j# redist inside VS Setup Project?

Posted on 2008-10-21
4
1,105 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
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 59

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

816 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

8 Experts available now in Live!

Get 1:1 Help Now