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
    image fx (60)
    Data Analytics Driving the Modern E-commerce Warehouse
    13 Min Read
    big data analytics in transporation
    Turning Data Into Decisions: How Analytics Improves Transportation Strategy
    3 Min Read
    sales and data analytics
    How Data Analytics Improves Lead Management and Sales Results
    9 Min Read
    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
  • 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

Smart phones: Privacy being undermined (or ignored)
Speaking at Social Media Club on SEO + SMO
Should Apple be more open?
Embrace the medium
Marketing Lessons from the Collapse of Lehman Brothers

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

Why the AI Race Is Being Decided at the Dataset Level
Why the AI Race Is Being Decided at the Dataset Level
Artificial Intelligence Big Data Exclusive
image fx (60)
Data Analytics Driving the Modern E-commerce Warehouse
Analytics Big Data Exclusive
ai for building crypto banks
Building Your Own Crypto Bank with AI
Blockchain Exclusive
julia taubitz vn5s g5spky unsplash
Benefits of AI in Nursing Education Amid Medicaid Cuts
Artificial Intelligence Exclusive News

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Does Your Research Company Look Like a Scam?

4 Min Read

Software patents should be abolished

5 Min Read

The Macroeconomics of Information and Attention: How People Interact

6 Min Read

When Government Officials Should Not Blog

3 Min Read

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

giveaway chatbots
How To Get An Award Winning Giveaway Bot
Big Data Chatbots Exclusive
AI chatbots
AI Chatbots Can Help Retailers Convert Live Broadcast Viewers into Sales!
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?