Solved

Windows\truslib and zipfunctions.class

Posted on 2003-12-04
3
702 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
diffSum example 4 53
login form jsp example 2 38
Java: The Public Class Main 4 32
jsp CRUD operations with and without prepared statement also hibernatge 1 12
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

820 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