JosAH 11,448
Recognized Expert MVP
Greetings,
This question sort of belongs in the Java Forum (and it is quite technical) but it
also belongs elsewhere because it belongs in some MS Vista forum. Nevertheless
here's my question:
I bought another laptop lately that runs Vista; I installed a new update of Sun's
Java stuff and it was installed in C:\Program Files\Java as always. Java uses
a so called 'extension' mechanism which basically boils down to compiled
Java code being stored in C:\Program Files\Java\<mum ble>\ext where the
<mumble> part doesn't matter much here.
When I want to store something there it ends up entirely somewhere else:
C:\Users\Jos\Ap pData\VirtualSt ore\<same as above>
It seems to be a protection measure by Microsoft. So far so good, I thought I
could live with that but: if I even dare to change something in that directory
all the rest I had previously stored in there doesn't seem to work anymore. It's as
if some shadow version of it all is kept somewhere (I can't find it but I'm starting
to believe in ghosts by now).
I googled a bit and I run my stuff with administrator rights which should get rid
of all this dark magic but alas. Of course I can migrate my stuff and tell Java
to look for it somewhere else but my customers aren't that clever: the stuff must
be installed in the orginal <mumble>\ext directory where it belongs according
to their default Java virtual machine.
I went through the entire locally available help and through most of google but I
couldn't find anything useful except for complaints about that VirtualStore thing.
Who, by Jove, came up with this bloody misery and how can I cut its throat?
A pint of rum for anyone who can make this misfeature walk down the plank.
kind regards,
Jos
5 4499
A pint of rum for anyone who can make this misfeature walk down the plank.
After a pint of rum, I couldn't walk down the plank myself.
JosAH 11,448
Recognized Expert MVP
After a pint of rum, I couldn't walk down the plank myself.
That's not an option; more and more customers want those shiny semi-transparent
tooltips and windows so I have to deal with it. There must be a way to turn off
that preposterous feature. It blocks Java's standard extension mechanism.
kind regards,
Jos
NeoPa 32,568
Recognized Expert Moderator MVP
Jos, I'm going to move this to the Windows forum. I expect that if anyone knows about this they will.
I'll maybe pop a link through to it in the Experts' Help thread too.
I hope you find someone can help. I'm afraid that my Windows experience is all pre-Vista (cause it's a pile of old carp IMHO).
I read an explanation of this and the gist seems to be that rather than allow programs to write where they want in areas that may allow them to cause problems / viruses etc Vista creates virtual registry keys and virtual directories that should appear transparent to the users / applications in a similar sort of way to how sandox programs work
I don't think that you are likely to be able to stop this and I think you will have to just try to adapt the code to work around it.
also the reason it works as administrator is because the system does not use these Virtual path's etc as the administrator has permissions to write most areas.
possible helpful links - http://support.microsoft.com/kb/927387 http://www.microsoft.com/downloads/d...displaylang=en JosAH 11,448
Recognized Expert MVP
Thanks for the reply and the links; I'm beginning to understand that trickery-dickery
and I don't like it one bit. Those files are kept out of the way on a per user basis
which can turn into a mess. I'm afraid I have to stay away from that 'protected'
Program Files directory completely. Oh well, back to the drawing board ;-)
kind regards,
Jos
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: fredfrog22 |
last post by:
The following is an extract from a C# console application that creates
a Virtual Directory on IIS 5 or 6.
This code works on XP, Windows 2003 Server, Windows 2000.
It does not work on Windows Vista Release Candidate 1 (IIS 7).
The below line
pcProps.Value = strPath;
|
by: Mark Rae |
last post by:
Hi,
On Friday I attended the Microsoft EVO conference in London where they
talked about Vista, Office 2007 and Exchange 2007 and how they all work
together beautifully, how they were all "people-ready" etc...
I asked a couple of questions about Visual Studio.NET on Vista, especially
on 64-bit Vista, and they became *very* nervous...
To cut a long story short, Microsoft will not support ANY version of Visual
|
by: theintrepidfox |
last post by:
Dear Group
I've installed MSSQL 2005 STD on Vista and now can't attach my
databases.
I've installed SQL SP2 and the SQL Vista Beta Update.
The error I'm getting is:
Unable to open the physical file <Path to MDF>. Operating system error
5: '''5(Error not found)'''. (Microsoft SQL Server, Error: 5120)
|
by: John Kotuby |
last post by:
Hi all...
Well my earlier post aboout not being able to access http://localhost has
been resolved. I am still having problems testing my Web site project.
First, thanks to Juan Libre I edited my HOSTS file and can access
localhost. However, what I found in the HOSTS file was not what I expected.
Juan mentioned that the following line might be missing.
127.0.0.1 localhost
|
by: jcvoon |
last post by:
Hi all:
The application is a WinForm application which will invoke the Web
Services host in the same development machine, the WSE policy is setup
properly and it is configure to use usernameForCertificateSecurity
policy. Same application work in WinXP with IIS5, but not work in
Vista Business with IIS7, the following exception has been throw when
invoke the web method
Microsoft.Web.Services3.ResponseProcessingException was unhandled
| |
by: Alex |
last post by:
Hello everybody,
I've been working for days on a "twilight zone" bug and I can't make any
sense of it. This is in an application that was developped on XP and that
was modified to handle Vista. Other than using the virtual store for some
config information, it doesn't do anything fancy. The strange thing is that
when the application is executed without an active internet connection,
there is a crash in the application for some of our...
|
by: sawilla |
last post by:
First, I'm new to Python. I'm getting and error when I run Python
2.5.2 as a regular user in Vista but not when I run Python as an
administrator.
For example, if I type "import numpy" after I launch python from an
adminstrator-privileged command window it loads fine. However, from a
regular-user command window I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
|
by: =?Utf-8?B?UlJN?= |
last post by:
Hi all, I
I tried to find the group for Virtual Server but failed, so I have placed
this in general.
My problem.
During the installation of Virtual Server 2005 R2 SP1 The installer stops
with an error from vista saying 'search for solution online' or cancel. I
select search for solution online and it says after a short while, install
|
by: krishnaneeraja |
last post by:
Hi,
Iam developing windows application.This application working properly in windows operating system.But in Vista operating system, my application installed properly but virtual store problem is there.Actually i installed my application at c:/Program Files. But it takes data base from virtual store folder.That's why my application not working for this reason.Is there any way to solve this problem? Please help me.
Thanks & Regards,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |