How do I address problems with J/Link and InstallJava when I start Mathematica 6?
 If errors about J/Link and InstallJava appear when you launch Mathematica, we need gather some diagnostic information in order to help you. Here are instructions to follow which will help you gather the information we need. | 1. | Launch a standalone Mathematica kernel. |
| | In Windows click Start > All Programs > Wolfram Mathematica > Mathematica 6 Kernel. |
| | In Mac OS X right-click (or CTRL-[click]) the Mathematica 6.0 application () and select . In the resulting folder, open the and double-click the MathKernel icon. |
| | In Linux/Unix launch a terminal window and enter the path to the kernel. Typically, this is /usr/local/Wolfram/Mathematica/6.0/Executables/MathKernel. Or you can change directories to the directory and start the kernel by executing ./MathKernel. |
| 2. | In this kernel interface, enter the following (the In[x] prompts will appear automatically): |
| | What is the result from In[2]? It should be a LinkObject. Do these commands produce any error messages? If the output isn't a LinkObject, stop there and send us the output, including all messages. |
| 3. | If it is a LinkObject, continue with the following: |
| | In[3]:= JavaNew["java.lang.Object"] |
| | This should return a JavaObject. If it does, that proves that J/Link is functioning correctly. |
| 4. | The next thing to try is this: |
| | In[5]:= PacletManager`Package`startPacletManager[] |
| | The last line should return nothing. |
Please send the inputs and outputs of this session to Wolfram Technical Support. Download this FAQ as a Mathematica 6.0 Notebook
Questions or comments? Send email to support@wolfram.com.
| |