Click to See Complete Forum and Search --> : Java compilation error


apokalyp5e
07-28-2002, 08:40 PM
I'm trying to write programs in JBuilder but when i compile it tells me that it is unable to write to output directory. I changed permissions on the dir but still get the same error. any ideas???

truls
07-29-2002, 05:52 AM
Could you copy and paste the error output. Did you give full access to everyone (chmod 777) on the directory? Need some more info.

apokalyp5e
07-29-2002, 12:28 PM
the error is:
error 914: unable to write to output directory

ls - l returns
drwxrwxrwx

on the directory

word for word
thanks.

bwkaz
07-29-2002, 12:42 PM
Which directory is it?

truls
07-29-2002, 12:59 PM
Seeing as the directory have rwx for all, the only two things I can think of are:
- It's trying to write to a different directory than you think (doubt it, but you never know :-)
- An instance of the program you're compiling is already running.
Could it be that it's trying to write some files to another directory, log-files something like that?

Apart from that I'm at a loss, sorry dude :cool:

Oh, could you post the _whole_ result of the compiler output, not just the error message. Could be some odd little hint in there somewhere.

apokalyp5e
07-30-2002, 12:58 AM
I solved my problem. I just re-installed the jdk and jre packages and linked them to /usr/bin./ and it worked. don't know why it didn't the first time though. thanks anyways.