Marc_Engrie
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
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)
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Indeed, the J# solved this.
Thx a lot
Thx a lot
Awesome. Glad to help = )
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.