Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem with exporting from eclipse
Problem with exporting from eclipse [message #886163] Thu, 14 June 2012 11:12
Ville Ojaniemi is currently offline Ville OjaniemiFriend
Messages: 1
Registered: June 2012
Junior Member
Hi!

I´m fairly new to java programming and eclipse and I have problem when I try to export my project to runnable jar. My program works well inside eclipse and if I use command
prompt with command java -jar [path to jar]. But when I try to open the runnable jar that eclipse created for me it just flashes the command prompt window saying
exeption in thread "main" java.lang.NoClassDefFoundError
.
.
.
Could not find the main class[path to the jar] program will exit.

I´ve been searching for hours for a solution and nothing has helped. It´s really frustrating.

Any help is appreciated.
Thanks!

[Updated on: Thu, 14 June 2012 13:13]

Report message to a moderator

Previous Topic:Display Class
Next Topic:File contents not showing
Goto Forum:
  


Current Time: Thu Mar 28 16:34:53 GMT 2024

Powered by FUDForum. Page generated in 0.03969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top