Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    data analytics and truck accident claims
    How Data Analytics Reduces Truck Accidents and Speeds Up Claims
    7 Min Read
    predictive analytics for interior designers
    Interior Designers Boost Profits with Predictive Analytics
    8 Min Read
    image fx (67)
    Improving LinkedIn Ad Strategies with Data Analytics
    9 Min Read
    big data and remote work
    Data Helps Speech-Language Pathologists Deliver Better Results
    6 Min Read
    data driven insights
    How Data-Driven Insights Are Addressing Gaps in Patient Communication and Equity
    8 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Java writes files that Vista can’t find!
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Uncategorized > Java writes files that Vista can’t find!
Uncategorized

Java writes files that Vista can’t find!

Editor SDC
Editor SDC
4 Min Read
SHARE

Or so it seemed. I was installing Jedit to see if they had fixed any of its annoying gnats. (Side note: its on version 4.3pre16. If you have to release something 16 times before it’s considered done, face it, you need to adjust your release system).

The installer I’d almost always used was the Java one; it was pretty low impact. I chose my folder (c:\\program files\\jedit) and away it went. The java installer requires you to make your own start menu entry, so I went in explorer to find my folder… and it wasn’t there.

Now, I have “show hidden and system files” set, so I didn’t think that was it. And when I ran an Administrator Command Prompt and did a dir in my Program Files directory, nope, not there.

So, I reran the installer to make sure that indeed, I was putting the write name. This time, I did the browse to force it to pick the right directory… and my jaw dropped. The Java installer was showing the jedit directory already created! I alt-tabbed to my explorer, refreshed, no jedit; reran the dir, no jedit.

More Read

3 Ways Manufacturing Companies Can Boost Efficiency with ERP
The Senate, ObamaCare, the NYT, and R
No Money, No Problem!
My 2010 Business Wish List: Designing change in business and life
Hallmark Fights Back

I installed this time in JeditAgain. Same thing. No presence in a dir or File Explorer window.

…

Or so it seemed. I was installing Jedit to see if they had fixed any of its annoying gnats. (Side note: its on version 4.3pre16. If you have to release something 16 times before it’s considered done, face it, you need to adjust your release system).

The installer I’d almost always used was the Java one; it was pretty low impact. I chose my folder (c:\\program files\\jedit) and away it went. The java installer requires you to make your own start menu entry, so I went in explorer to find my folder… and it wasn’t there.

Now, I have “show hidden and system files” set, so I didn’t think that was it. And when I ran an Administrator Command Prompt and did a dir in my Program Files directory, nope, not there.

So, I reran the installer to make sure that indeed, I was putting the write name. This time, I did the browse to force it to pick the right directory… and my jaw dropped. The Java installer was showing the jedit directory already created! I alt-tabbed to my explorer, refreshed, no jedit; reran the dir, no jedit.

I installed this time in JeditAgain. Same thing. No presence in a dir or File Explorer window.

This was strange. Time to search.

Someone at StackOverflow, the Yahoo! Answers for programmers, had nailed it.

Java File.canWrite() on Vista and super hidden files is where a guy showed how Java can write files that he can’t see, but Java can… And the answer is:

UAC again. Yes, fans, when User Access Control is on, the java app writes are redirected to C:\\Users\\\\AppData\\Local\\VirtualStore\\. The program doesn’t know the difference, but your real Program Files is not touched.

And when I went there… yep, all my versions of Jedit were there, and a bunch of other stuff besides. Whenever a program was writing to it’s own directory (uncompressing files, whatever), it was putting them in this VirtualStore area.

Yet another reason to really hate Vista. I know, it thinks its doing it for my own good… but jeez.

BTW, if you want to run a java jar as an admin, you need to run it from the administrator command prompt.


Link to original post

Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

data analytics and truck accident claims
How Data Analytics Reduces Truck Accidents and Speeds Up Claims
Analytics Big Data Exclusive
predictive analytics for interior designers
Interior Designers Boost Profits with Predictive Analytics
Analytics Exclusive Predictive Analytics
big data and cybercrime
Stopping Lateral Movement in a Data-Heavy, Edge-First World
Big Data Exclusive
AI and data mining
What the Rise of AI Web Scrapers Means for Data Teams
Artificial Intelligence Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Public Expression, Liability, and Anonymity

3 Min Read

The Top 25 Words of the Decade from 2000 – 2009

3 Min Read

3 Ingenious Use Cases for Business Intelligence Tools

8 Min Read

Implementing Enterprise 2.0 at Océ Part Four: Operational and Financial Impact

8 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

ai in ecommerce
Artificial Intelligence for eCommerce: A Closer Look
Artificial Intelligence
ai chatbot
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-25 SmartData Collective. All Rights Reserved.
Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?