MADS Simulation Framework

MADS & SAGS Troubleshooting

JDK error: 1.4 instead of 1.5

In some cases, an error message like the one in the image below might appear. If you previously installed JDK 1.5.x, the error is probably because JBuilder's JDK 1.4 has overwritten the registry records and the system now thinks that JDK 1.4 in installed. You can fix this by downloading and executing this script which will correct the settings. If you did not install JDK 1.5.x, you need to go back to the JDK installation guide.

JDK version error

After executing the script, a confirmation message like in the image below shoud appear. Choose Yes.

Registry update confirmation

Now acknowledge the changes by clicking OK.

Registry update confirmation

JBuilder does not not start

Because of a bug in a JBuilder configuration file, the JBuilder might not start. Usually, the splash screen is shown for a fraction of a second after which nothing happens. To fix this, go to JBuilder's bin folder (by default this is "C:\Borland\JBuilder2006\bin" and open the file named jbuilder.config. You can open it with notepad, wordpad or any text editor. You will find a section with a text looking like the following:

# Tune this VM to provide enough headroom to work on large
# applications
vmmemmin 32m
vmmemmax 75%
vmparam -XX:MaxPermSize=128m

Comment out all the uncommented line in this sections by adding a # character in front of each one. It should look like this:

# Tune this VM to provide enough headroom to work on large
# applications
# vmmemmin 32m
# vmmemmax 75%
# vmparam -XX:MaxPermSize=128m