• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Odd behaviour of project in Windows Vista

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I had tested my project well on my local machine(Windows XP) and it worked fine. I then tested the same code on my flat mates machine which was Windows Vista and kept getting a FileNotFound Exception which made no sense as the file was there and all the priveleges required eg. reade+write were provided.

Also I was not able to find the suncertify.properties file in the Windows Vista machine, But I definitely know its there somewhere as the fields are automatically populated with values previously entered. I have looked in the current working directory(where it should be) and also searched the entire C drive for it with no luck..

Anyone have any ideas if the above two problems may be caused due to Windows Vista? Thats the conclusion I came to as the same code and database file worked fine on my system.

Thanks,
James
 
Author
Posts: 587
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A little while back I spoke to a Sun representative in regards to Java and Vista. I won't go into the conversation, but if you can use a different OS such as Windows XP, Linux or Solaris, you'd be much better off.
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I had started doing my project in vista, and I never came to this problem of FileNotFound when the file is there...vista seems ok to me so far.


So how do we know what OS sun is going to test it on?
 
Robert James Liguori
Author
Posts: 587
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please post the specific line(s) of code that are causing the exception to be thrown.

FYI, supoprt for Windows Vista was introduced in J2SE 5.0 Update 11 and later; http://java.sun.com/j2se/1.5.0/system-configurations.html
 
James Clarke
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Robert,

Well the fact that suncertify.properties is not visible anywhere, is not related to the code. I mean I know for a fact that the file is somewhere on the Vista system since previous options entered are automatically loaded, however I can't find the actual file, Ive tried browsing through the directories and also searched the entire drive. I also used the "show hidden files" and "show system files" options and still could not find.

In terms of the FileNotFound Exception, I was getting an access denied exception which made no sense since the file seem to have all the required privileges. any idea what could be causing this?

Also it would be great if you could tell us what feedback you got from Sun regarding Java in a Vista environment !!!

Thanks in advance,

J.C
 
Robert James Liguori
Author
Posts: 587
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is an older article though for your observation: http://www.channelregister.co.uk/2006/10/11/java_windows_vista/
[ May 11, 2008: Message edited by: Robert Liguori ]
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
James Clarke wrote:

Well the fact that suncertify.properties is not visible anywhere, is not related to the code. I mean I know for a fact that the file is somewhere on the Vista system since previous options entered are automatically loaded, however I can't find the actual file, Ive tried browsing through the directories and also searched the entire drive. I also used the "show hidden files" and "show system files" options and still could not find.



Funny, because I recently observed something rather similar to what you describe, though in a different context. I bought a new computer with Windows Vista recently, on which I wanted to install JSwat (a Java debugger). Apparently the application is installed, but I can't actually see it anywhere using either Windows Explorer or a DOS box. I know it's on the file system, though, because if I try to install it a second time the installer complains that it's already there. Also, I found out that if I launch another Java application, I can actually see the JSwat files through a file chooser in that application. It is as if only a JVM can see those files.

--Michel.
 
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic