Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

location/directory used by JRE, for saving the temporary Internet files

 
Am Stranger
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello sir,

I am working on a project( in JavaFX ) which takes the URL of a streaming FLV video as input and plays it in Media Player component.

I have successfully played the streaming video, by taking the aid of sample project, Media Box.

I am not able to understand, to which location/directory on my hard disk, these temporary Internet files(FLV video file) were getting downloaded . Please let me know, the location/directory used by JRE( on both Windows and Linux ) for saving the temporary Internet files. Also let me know, if there is any possibility of changing that location/directory.

Thanks for any help, in advance.
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It all depends on the browser.
Internet Explorer uses "Local Settings\Temporary Internet Files" inside your user's home folder (usually in C:\Documents and Settings (XP) or C:\Users (Vista / 7)).
Firefox uses "Local Settings\Application Data\Mozilla\Firefox\Profiles\XXX\Cache" inside the home folder, with XXX being the profile name.
Opera uses "Local Settings\Application Data\Opera\Opera\cache" inside the home folder.
Google Chrome uses "Local Settings\Application Data\Google\Chrome\User Data\Default\Cache" inside the home folder.

Java also has its own cache, at "Application Data\Sun\Java\Deployment\cache" (again, inside the home folder). I don't think that's where FLV videos are stored though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic