Exception Jtattoo main

0

Good afternoon guys,

I and a friend are servicing a system and are trying to generate a system jar. So far so good, the system compiles normal and everything else, but when we go to open the generated jar file it just does not open. I tried to open the jar at the windows command prompt and I could see there was an exception.

Print link - > link

If anyone can help I appreciate it very much.

    
asked by anonymous 22.02.2016 / 17:04

1 answer

0

Actually, the .jar file is opened and the program starts, but as the exception shows, there is no class named com.jtattoo.plaf.fast.FastLookAndFeel in this file, and how it is probably being used in UIManager to define the look and feel is one of the first things that happens in the application, so it ends up not seeming to be opening.

If you use Jtattoo as a library in Build Path , if you are using Eclipse there is an option to insert libraries into .jar files when you export such as "Runnable JAR" . If you prefer, use Maven and you will not have to worry about that if you use goal "package" . There is even the option to manually include the class in the .jar file, but you would have to do this whenever you generated a new .jar file, which is not productive at all.     

24.02.2016 / 18:14