Click here to Skip to main content
15,908,166 members
Home / Discussions / Java
   

Java

 
QuestionClose JFrame using JButton?? Pin
AmbiguousName16-Apr-10 2:20
AmbiguousName16-Apr-10 2:20 
QuestionObject Pannin problem in Java 3D Pin
ShafiqA14-Apr-10 2:19
ShafiqA14-Apr-10 2:19 
Questionhow to remove subMenuItem on its click Itself? Pin
002comp14-Apr-10 0:45
002comp14-Apr-10 0:45 
QuestionWeather.com script: create cookie to store zip code Pin
bill bradley13-Apr-10 13:11
bill bradley13-Apr-10 13:11 
AnswerRe: Weather.com script: create cookie to store zip code Pin
David Skelly13-Apr-10 22:34
David Skelly13-Apr-10 22:34 
Questionsupport for javascript?? Pin
AmbiguousName13-Apr-10 7:51
AmbiguousName13-Apr-10 7:51 
AnswerRe: support for javascript?? Pin
David Skelly13-Apr-10 22:32
David Skelly13-Apr-10 22:32 
Questionruntime exception Pin
pelach111-Apr-10 21:40
pelach111-Apr-10 21:40 
hello.
first of all - apologies for my poor English.

I wrote a small program in javaFX . (NetBeans as IDE)
Now, say I want to run it from my desktop, or pass it to a friend.

Here is what I did so far:
NetBeans creats an executable jar file. (mine is called "classroom")
I wrote the cmd command: java -jar classroom.jar
it gave me this:
"exeption in thread "main" java.lang.NoClassDefFoundError : com/sun/javafx/runtime/FXObject
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(UnKnown Source)
.
. // a few more of these
.
// and in the end It says:
Could not find the main class: classroom.Main. program will exit "

( I have a screen picture of the massage but I didn't find a way to add it to this post ).

if the file is called an "executable jar file" doesn't it mean that it contains the main class? or the necassary manifast file?

thanks
AnswerRe: runtime exception Pin
Nagy Vilmos12-Apr-10 11:19
professionalNagy Vilmos12-Apr-10 11:19 
AnswerRe: runtime exception Pin
TorstenH.12-Apr-10 20:15
TorstenH.12-Apr-10 20:15 
QuestionApplet Button thru HTML Pin
002comp11-Apr-10 19:49
002comp11-Apr-10 19:49 
AnswerRe: Applet Button thru HTML Pin
TorstenH.11-Apr-10 21:11
TorstenH.11-Apr-10 21:11 
GeneralRe: Applet Button thru HTML Pin
002comp11-Apr-10 22:33
002comp11-Apr-10 22:33 
GeneralRe: Applet Button thru HTML Pin
002comp12-Apr-10 0:15
002comp12-Apr-10 0:15 
GeneralRe: Applet Button thru HTML(Solved) Pin
002comp12-Apr-10 1:05
002comp12-Apr-10 1:05 
QuestionLocking the size of window Pin
sangeeta200910-Apr-10 21:31
sangeeta200910-Apr-10 21:31 
AnswerRe: Locking the size of window Pin
Richard MacCutchan11-Apr-10 14:34
mveRichard MacCutchan11-Apr-10 14:34 
AnswerRe: Locking the size of window Pin
TorstenH.11-Apr-10 20:54
TorstenH.11-Apr-10 20:54 
Questionshortest remaining time first Pin
Blackberry8910-Apr-10 2:31
Blackberry8910-Apr-10 2:31 
AnswerRe: shortest remaining time first Pin
Richard MacCutchan11-Apr-10 14:34
mveRichard MacCutchan11-Apr-10 14:34 
GeneralRe: shortest remaining time first Pin
Blackberry8912-Apr-10 11:10
Blackberry8912-Apr-10 11:10 
GeneralRe: shortest remaining time first Pin
TorstenH.12-Apr-10 20:10
TorstenH.12-Apr-10 20:10 
AnswerRe: shortest remaining time first Pin
TorstenH.11-Apr-10 20:59
TorstenH.11-Apr-10 20:59 
Questionencrypting and decrypting an image Pin
glinseynew@gmail.com9-Apr-10 13:55
glinseynew@gmail.com9-Apr-10 13:55 
AnswerRe: encrypting and decrypting an image Pin
Richard MacCutchan11-Apr-10 14:32
mveRichard MacCutchan11-Apr-10 14:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.