[BLUEJ-517] “Bluej was unable to create a virtual machine…” – letters with accents hinder…
Hello I am found out a small (at least small for me because I am able to work it around) bug in BlueJ 3.1.1 on Mac OS Mavericks.
To explain it: I come from Slovakia and sometimes I create a project that?s name contains letters with accents. In that case BlueJ 3.1.1 always says: ?Bluej was unable to create a virtual machine??
In previous versions of BlueJ (or of Mac OS ? that is what I am not able to find it out, because I have upgraded both the BlueJ and the Mac OS at once) there was no such problem, but I have the same problem in jEdit and there I found out a workaround. I have created a small utility program for me. I am executing the utility with working directory set to in ?safe location? (e.g. in my home directory ? it must be a path without any letters with accents). Then the utility itself runs the compiler like this (in rough principle):
Process proc = Runtime.getRuntime().exec(cmdArray, envp, new File(sourcePath));
where cmdArray is array of strings containing: "javac", "-encoding", "UTF-8", and the file name to compile; envp is array of strings with some environment variables; and sourcePath contains the real working directory.
(Another simpler workaround is to not to use the letters with accents, but this is not a universal solution.)
I do not know if it will be helpful for you ? because I do not need a debugging functionality in my custom programming environment right now (I did not explore the java debugging possibilities until now, but I will need it in the future?) But at least this message will inform you about hidden problem that cannot be revealed inside the English environment (or only very hardly).
Best Regards, Roman Horv?th
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.1.4