Vj# 1.1 based Zip Extraction...

hi All,

I have created a tool for my company which is predominanlty in C# and the application downloads a ZIP file from the internet. This is were I use VJ# because I guess it is easier to use VJ# for extracting the file. If I run my application on my DEV machine, the application runs so smoothly and it is able to extract the files according to the logic. But if i run on another machine, It does not. I have installed the Vj# redristibutable. Can anybody give me pointers on where this could go wrong...

Many thanks,

Shankarr


Answer this question

Vj# 1.1 based Zip Extraction...

  • alypeely

    Hi...

    I figured it out...There were some VjSharp dll that was missing from the GAC.

    I added those DLLs and the program worked fine...

    Thanks anyway...

    Shankarr

  • Chris Anderson

    Hi, can you tell me which were the dlls you finally added and make it work, since i am having the same problem u had but with no success

    thanks

  • Ntompson

    FYI,
    java.util.zip package of VJ# runtime 1.0/1.1 has a serious bug. It doesn't work correctly for big archives.
    <http://www.ujihara.jp/CodeTips/VJSharp/ZipBug.java.html> is the sample code for this bug.
    This bug was fixed in VJ# 2.0. I strongly recommend you to use VJ# runtime 2.0 or SharpZipLib <http://www.icsharpcode.net/OpenSource/SharpZipLib/>.

  • DarkCat

    You must install the j# Redistributable Package


  • Gooddogs.com

    Is any error message displayed



  • Martin Hart Turner

    Hi,

    The Exception Message says :

       "The Type initializer for java.io.File threw and exception.

    The exception is triggered when the I am trying to initialize a Zip file

    using the code...

    ZipFile xFile = new ZipFile(<<path>>);

    I have added the vjslib.dll to the assembly cache, I have also made available for the application in the executable directory as a local copy.

    Your help will be deeply appreciated.

    - Shankarr

     


  • Vj# 1.1 based Zip Extraction...