I was wondering if anyone knew of a tutorial for accessing windows/mac OS files with java (without java's IO API).
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I was wondering if anyone knew of a tutorial for accessing windows/mac OS files with java (without java's IO API).
Last edited by KAJLogic; February 27th, 2014 at 06:46 PM.
The java packages are how you write java code to read/write files.without java's IO API
Can you explain what you are trying to do?
If you don't understand my answer, don't ignore it, ask a question.
I would like to implement my own communication with the JNI to get Windows information.
The use of JNI is a rather "advanced" and not easy concept. You need to know the concepts on JNI, you need to know C/C++ language, you need a C/C++ compiler (to develop a shared dinamic library appropriate for JNI) and you must be quite well versed on the native O.S. APIs (on Windows, the Win32 API, on MacOSX I don't know).
Alternatively there is the JNA (Java Native Access, search on the web) library that is "bridge" between Java and any native library. You don't need C/C++ but you still need to know the O.S. APIs.
Do you have these knowledges?
Andrea, www.andbin.net — SCJP 5 (91%) – SCWCD 5 (94%)
Useful links for Java beginners – My new project Java Examples on Google Code