Solved

Windows\truslib and zipfunctions.class

Posted on 2003-12-04
3
697 Views
Last Modified: 2007-12-19
I have built a fairly simple asp page as per:
http://www.4guysfromrolla.com/webtech/030800-1.shtml

Just to simply zip some files on the fly.

The thing worked fine on my dev box, however I have come to move it to a live server and the Windows\java directory did not exist.

The server is fully managed and has been built by somebody else (they are dumb and of no use). I have the Sun Virtual Machine installed, I created the directory structure (which in truth I already knew was going to be an issue) and then I am getting is "Invalid Syntax" returned at the line

set javaObject = GetObject("java:ZipFunctions")

This I know is a setup issue, problem is I just can't see how to fix it
0
Comment
Question by:fz2hqs
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 9876907
I'm not sure ASP can use Sun's VM, and if it can it would certainly require some configuration changes on the server.
0
 
LVL 9

Author Comment

by:fz2hqs
ID: 9903801
I finally solved it. After much hunting around it turns out that courts and the MS / Java issue is to blame for my pain.

MS are no longer shipping their virtual machine in *anything*, and as from 2 Jan 2004 will not be supporting the old stuff, the virtaul machine is. The ISP used some new build disks that were without the VM hence my nightmare! A hunt around the web for the MS Java VM (msjavx86.exe) paid devidends! Downloading and running this has set up the environment correctly - I am subsequantly all sorts of patches out of date but I know have my C:\winnt\java and trustlib subdirectory

Given you were the only one brave enough to post anything you can have the points objects
0
 
LVL 92

Expert Comment

by:objects
ID: 9906974
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now