setDiagnosticDirectory(Diagnostics.java:54) [32-bit java on 64-bit machine]
On 64-bit LucidLynx Linux, If I run Oracle SQL Developer using 64 bit java, all is fine.
If I use 32-bit java, it doesn't start up and I get this fatal error:
java.lang.IllegalArgumentException: Cannot create <pwd>/?/.sqldeveloper/system1.5.5.59.69/o.ide/diagnostics
at oracle.javatools.logging.Diagnostics.setDiagnosticDirectory(Diagnostics.java:54)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1293)
<pwd> represents the current directory that I am in. That question mark appears as is.
If I run this as `sudo`, it works, cause it gets past the "permissions" problem. (but that's a red herring).
It should be trying to create the ".sqldeveloper/..." directory under my home directory, not in the present
working directory, and certainly not with a question mark as another directory name.
It appears that when using the 32 bit java (on a 64 bit machine), that whatever function
Oracle is using/spawning to determine the user and its
home directory, is failing, and the code just says, plop the diagnostics directory right here.
How does one debug this?
(I tried running `jdb` but setting break points doesn't seem to have an effect)
( Aside: on a 32-bit LucidLynx Linux machine, using 32-bit java, SQL Developer works fine.
I have all the necessary 32-bit libs, as we use 32-bit Java on 64 bit machines for other apps as well.)