By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData Collective
  • Analytics
    AnalyticsShow More
    data analytics in sports industry
    Here’s How Data Analytics In Sports Is Changing The Game
    6 Min Read
    data analytics on nursing career
    Advances in Data Analytics Are Rapidly Transforming Nursing
    8 Min Read
    data analytics reveals the benefits of MBA
    Data Analytics Technology Proves Benefits of an MBA
    9 Min Read
    data-driven image seo
    Data Analytics Helps Marketers Substantially Boost Image SEO
    8 Min Read
    construction analytics
    5 Benefits of Analytics to Manage Commercial Construction
    5 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-23 SmartData Collective. All Rights Reserved.
Reading: Java writes files that Vista can’t find!
Share
Notification Show More
Latest News
data analytics in sports industry
Here’s How Data Analytics In Sports Is Changing The Game
Big Data
data analytics on nursing career
Advances in Data Analytics Are Rapidly Transforming Nursing
Analytics
data analytics reveals the benefits of MBA
Data Analytics Technology Proves Benefits of an MBA
Analytics
anti-spoofing tips
Anti-Spoofing is Crucial for Data-Driven Businesses
Security
ai in software development
3 AI-Based Strategies to Develop Software in Uncertain Times
Software
Aa
SmartData Collective
Aa
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
Last updated: 2009/03/24 at 2:46 AM
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

big data improves

3 Ways Big Data Improves Leadership Within Companies

IT Is Not Analytics. Here’s Why.
Romney Invokes Analytics in Rebuke of Trump
WEF Davos 2016: Top 100 CEO bloggers
In Memoriam: Robin Fray Carey

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

Editor SDC March 24, 2009
Share this Article
Facebook Twitter Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

data analytics in sports industry
Here’s How Data Analytics In Sports Is Changing The Game
Big Data
data analytics on nursing career
Advances in Data Analytics Are Rapidly Transforming Nursing
Analytics
data analytics reveals the benefits of MBA
Data Analytics Technology Proves Benefits of an MBA
Analytics
anti-spoofing tips
Anti-Spoofing is Crucial for Data-Driven Businesses
Security

Stay Connected

1.2k Followers Like
33.7k Followers Follow
222 Followers Pin

You Might also Like

big data improves
Big DataJobsKnowledge ManagementUncategorized

3 Ways Big Data Improves Leadership Within Companies

6 Min Read
Image
Uncategorized

IT Is Not Analytics. Here’s Why.

7 Min Read

Romney Invokes Analytics in Rebuke of Trump

4 Min Read

WEF Davos 2016: Top 100 CEO bloggers

14 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 and chatbots
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive
giveaway chatbots
How To Get An Award Winning Giveaway Bot
Big Data Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US

© 2008-23 SmartData Collective. All Rights Reserved.

Removed from reading list

Undo
Go to mobile version
Welcome Back!

Sign in to your account

Lost your password?