We help IT Professionals succeed at work.

VB.net & Java

Hello,

i have 'inheritated' VB.Net code from somebody who left the company. The code imports java classes but on my system it can not find these classes and I have no clue where to look for the classes/dll's/...

It looks like this

Imports java.util.zip
Imports java.io

Public Class Zip

    Public Shared Function CreateZip(ByVal FileNames() As String, ByVal ZipFileName As String) As Boolean

               If DoesFileExist(ZipFileName) Then
            Throw New IOException("zip file already exists")
            Return False
        End If
       .....

The problem start at

Imports java.util.zip
Imports java.io

I want to add a reference but I do not know what to add.
On my system I have the JDK1.6.0_25 as well as JRE6.

Regards

Marc
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2015
Commented:
You need to install the J# libraries (old VS 2005 stuff). The link is here:  http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4712
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2015

Commented:
P.S.

For your reference, and someone please correct me if I am wrong, the J# stuff has nothing to do with Java in execution. It was Microsoft's implementation of a Java-like language, and it died out pretty quickly (thanks in part to C#, I believe). It should be of no consequence that you do have it installed, but you shouldn't need any Java installed in order to use the J# stuff.

Author

Commented:
Indeed, the J# solved this.

Thx a lot
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2015

Commented:
Awesome. Glad to help   = )

Explore More ContentExplore courses, solutions, and other research materials related to this topic.