1. Setting the last-modified-time of a directory opened for ReadDirectoryChangesW stackoverflow.comI hava a Java program that needs to monitor a directory tree for changes. I have JNI code that uses
|
2. Create a directory based on this month and move dirs to it stackoverflow.comI am contemplating writing a program that will move some newly created dirs to another that puts them into date-stamped folders; either by week-month-year or month-year. I can probably write/debug/test this ... |
3. Open containing directory in Windows Explorer from IntelliJ stackoverflow.comIs there a way (keyboard shortcut?) to open the folder of the currently opened file in Windows Explorer? What I mean is this: When a java source file is open in IntelliJ, ... |
4. Find user independent TEMP directory with Java stackoverflow.comwhen running a Java application as service with the user 'LocalService', the temp directory ("java.io.tmpdir") points to 'c:/windows/temp' (for example). Running a Java application normally gives 'c:/documents and settings/user/local settings/temp' instead. How can ... |
5. How do I refer to a directory in Java? stackoverflow.comI'm running Windows and I'm trying to refer to a directory. My function starts off like this:
I got a NullPointerException within the doStuffWith ... |
6. running with Java.exe when period exists in directory name stackoverflow.comI am trying to run the java prog I've built, but I want to run it from a specific directory. When specifying the relative path to the class file I ... |
7. Windows Seven seems to leave behind unwanted remnants in a virtual directory stackoverflow.comI am working on a java application that targets both mac and PC. Recently I discovered a strange problem with Windows 7. My application has a projects directory that ... |
8. directory.exists() returns false for windows 7 Ultimate N stackoverflow.comWell, this question refers directly to windows 7. I run the same code on windows xp and on windows 7. In windows XP it's true, and in windows 7 it's false!!
|
9. Java service can't list files in directories stackoverflow.comI'm doing a Windows Service in Java, this service list the files in a directory and write the results in a file. My problem is that when i call Java.File.isDirectory() when ... |
10. Writing files into a directory which still does not exists stackoverflow.comI'm using this script on WINDOWS
|
11. Is there a way to lock up a directory with Java? stackoverflow.comMy app creates a directory(file folder) on C:/ drive, since I don't want to expose all the data in it, and I don't want to encrypt all files in it, I ... |
12. Configuring JNotify on Windows stackoverflow.comI am using Java JNotify to listen for directories events. However, whenever i'm running the program below, the program is terminating immediately with no error nothing Instead, i think the program should wait ... |
13. Java: Write to tempFile in Windows Temp Directory stackoverflow.comI am trying to learn Java in few day. I trying to write content to temp file and save this file in temp folder in Windows (that's my task). I find some ... |
14. How to obtain OS directory stackoverflow.comI,m looking for some method that can let me obtain (in windows) the directory where windows is saved (for example in my PC it will return "C:\windows". I need it because I ... |
15. Java7 WatchService - Access Denied error trying to delete recursively watched nested directories (Windows only) stackoverflow.comI followed the Watching a Directory for Changes Java7 nio2 tutorial to recursively monitor the entire contents of a directory using the code sample WatchDir.java. While this works ... |
16. Confusion regarding Java Packages and Windows Directory? stackoverflow.comWhen preparing for the SCJP exam, we were going through the following code:
|
17. java.lang.UnsatisfiedLinkError: shell32.dll: Cannot load shell32.dll from system directories stackoverflow.comI have meet this error ,do anyone know why is it? Java Version: 1.6.0_16
|
18. Can I open a file in Java that is in a user's home directory on Windows Enterprise with Active Directory? stackoverflow.comI have a program that puts some information in a user's My Documents folder. I find this folder by using System.getProperty("user.home"); Now I have a customer for whom this ... |
19. How to get administrative privilege to open a directory in C drive of Windows vista/7 in java stackoverflow.comI tried to open a directory present in c drive in java code, but failed. It throws an exception as Access denied. I am using windows 7. How can I open ... |
20. Using File I/O to traverse directory in windows stackoverflow.comI'm writing a program that uses File I/O to traverse through a directory given by the user and then adds the directories to a generic linked list. The program I wrote ... |
21. How to create non-read-only directories from Java in Wndows stackoverflow.comI'm creating directories using |
22. How to know the directory containing the java run time in Windows XP? stackoverflow.comThere are a lot of jdk and jre in my |
23. How can I change the running directory of a program - by setting it in the exe shortcut? stackoverflow.comI have an exe process that is running with a shortcut. |
25. how to get windows root directory coderanch.comHi All, Can any one tell me .how to get windows root directory in java. i need code pr api which returns root directory of windows such as C:\WINDOWS,or D:\WINDOWS. i want to store one dll other than current directory so i want to store in windows root directory.i should not hard code the path as i am not sure C,D ... |
26. Confusion regarding Java Packages and Windows Directory coderanch.comWhen preparing for the SCJP exam, we were going through the following code: package certificaton; public class OtherClass { public void testIt() { System.out.println("otherclass"); } } And this: package somethingElse; import certification.OtherClass; public class AccessClass { public static void main( String args[]) { OtherClass o= new OtherClass(); o.testIt(); } } I placed both the above files in the following directory: C:\scjp\temp8 ... |
27. Trouble getting the default user directory under Windows XP forums.oracle.comI m trying to get the default user directory under windows XP SP3. To do so, I'm using System.getProperty("user.home"); I was expecting to get a path like "C:\Documents and Settings\user", nstead of that I get "C:\Documents and Settings\user\Destop". I checked the %USERPROFILE% and %HOMEPATH% window's environment variables and both of them are correctly set ( set to "C:\Documents and Settings\user"). Is ... |
28. How To Set Up ClassPath Package for directory in D drive in Windows? forums.oracle.comTo compile from D:\ D:\>javac -d "Your\ dir for\Output Files" "Path\To Your\ClassFile.java" but please avoid silly questions... Make a try BEFORE posting Sorry, but i have to correct myself about a previous post Even if your class belongs to a package you have to D:\>javac Your\Class\Name.java (the package declaration doesn't matter here) and even on Windows upper/lowercase in filenames is different. ... |
29. How do I use rxtxSerial.dll from the program directory? forums.oracle.comI've written a java program in Windows XP, and I'm using the RXTX library. But I'm having problems when I try to run it. I'm getting an exception error: "UnsatisfiedLinkError: no rxtxSerial in java.library.path", and of course it refers to that it cannot find the file rxtxSerial.dll. This can be solved by placing the dll file in the |
30. Java suddenly writing output to C:\Windows directory forums.oracle.comI installed a new hard drive and upgraded my version of Java to 1.6.0_20 (I think the old hard drive had 1.6.0_14). A Java program that I have had running for some time was not writing files to the project directory in Netbeans (where it had always written them). Log4j was also not writing its .log files there either. I found ... |
31. Authentication For Windows Directories forums.oracle.comOk, yeah. I see what you mean about the protected modified for the method. I guess there is no way for a java app to force windows to request a name/password for a protected directory. Oh well. I will recommend the mapped drive solution. That's an easier fight for me that trying to recommend 3rd party libraries. Thanks for you help. ... |
32. Downloading a dll to user's home directory forums.oracle.comarmalcolm wrote: The applet would have to be signed in order to do this. Personally, there's no way in hell I would want an applet writing stuff to my disk Unless you do -- we have an applet that interfaces between Web apps and a 3rdParty EHLLAPI .DLL, so that the users can do some things in the Web app, and ... |
33. External file drag and drop onto a compiled .exe changes run directory forums.oracle.comSeems like a weird title, I know, but I couldnt figure out something better. Well here are my problems: 1) I have compiled a .exe using the well known launch4J application and it is working pretty well when the exe is launched whether the jar is wrapped or not. The problem is, if I try to drag an external file onto ... |
34. Block Directories on windows forums.oracle.comWell with block I mean...when someone click twice on any directory instead of open directly the directory ask for a password if it is right then open the directory if not just show an error message...I read about it and there are many programs that already do this but I want to make my own just for fun and to practice ... |
35. Delete directory on windows forums.oracle.com |
36. renameTo() is failing to move a file to another directory in Windows 2000 ? forums.oracle.comHi All, I am trying to move a file from one directory to another. i don't have any files in the directory where i am moving. so there is no possibility of same file exist. i also unable to find the reasons why it is not moving... Can anybody help me on this?? How to debug such problems? I think this ... |
37. Windows Shared Directory and security forums.oracle.comI write a file to a windows shared directory on my computer that has my security, without any problem, but I can not put my application on another server since I have not logged in to that server. Is there anyway to send the login information to access the shared directory from that server? I can not use FTP since FTP ... |