Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm trying to write a java program that uses mathematica code for processing and graphs while using java for the front end. From what I've been able to glean from the j/link tutorials on the wolfram site I will need to import com.wolfram.jlink in my java program like so:

import com.wolfram.jlink.*;

I can't seem to get it to work. When I try to compile my compiler says that the com.wolfram package does not exist. I'm guessing that I need to download and install the com.wolfram package somewhere but I don't know where to acquire it and google has been less than helpful.

In case it's helpful I'm running JRE 1.6 on a machine running windows 7.

share|improve this question
    
Can we assume you have Mathematica installed? I ask this because you refer to online documentation, whereas, with MMA installed, you'd probably use internal documentation. –  Sjoerd C. de Vries Jun 29 '12 at 6:38
add comment

migrated from stackoverflow.com Jun 29 '12 at 3:18

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

Make sure that the jars are on your classpath.

share|improve this answer
    
Thank you for the help. I was able to solve the problem by including the JLink.jar file in my project. –  shortgosoe Jul 2 '12 at 20:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.