java - Deploying a runnable jar in ECLIPSE by considering dependencies -


i have problem deploying java project runnable jar file. project consists of 2 classes, namely “jframe” , “sudoku”. “jframe” gui has button invoking main method of class “sudoku”. also, project must link external library including “com.google.ortools.constraintsolver.jar” , “jniconstraintsolver.dll”. when push button of gui within eclipse environment, returns solution in gui textbox , nice , ok. however, when deploying runnable jar , clicking on gui , pushing button, nothing happens!! help, in advance. consider beginner in java.

make sure extract project dependencies when build runnable jar. if in eclipse, r.click project root->export->runnable jar (check correct option dependencies extraction).

enter image description here

if package jar command line, check jar comand manual including runtime dependencies.

good luck!


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -