Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to include j# redist inside VS Setup Project?

Posted on 2008-10-21
4
Medium Priority
?
1,122 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
3 Comments
 
LVL 61

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 61

Accepted Solution

by:
Kevin Cross earned 1500 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

581 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