Link to home
Create AccountLog in
Avatar of Marc_Engrie
Marc_EngrieFlag for Belgium

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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.
Avatar of Marc_Engrie

ASKER

Indeed, the J# solved this.

Thx a lot
Awesome. Glad to help   = )