java.io.IOException: Can't create /var/tmp/writable-dir/test.txt Unable to run test

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JDK Bug System by Roland Westrelin, 1 year ago
Can't create /var/tmp/writable-dir/test.txt Unable to run test
java.io.IOException: Can't create /var/tmp/writable-dir/test.txt Unable to run test
at undefined.CheckZombieLockTest.checkWritable(CheckZombieLockTest.java:123)
at undefined.CheckZombieLockTest.runTests(CheckZombieLockTest.java:96)
at undefined.CheckZombieLockTest.main(CheckZombieLockTest.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.