Skip to main content

java - JavaFX wont import after JRE 7u5 install on OSX Lion -


i installed jdk 7u5 javafx on osx machine running lion use mp3 playing code.

but, when do:

import javafx.scene.media.media; 

it says "the import javafx cannot resolved". have set jdk 7 preferred jdk in applications/utilities/java preferences added jdk eclipse, , have set jdk project.

i have installed , uninstalled jdk few times.

java - javafx wont import after jre 7u5 install on osx lion - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

i installed jdk 7u5 javafx on osx machine running lion use mp3 playing code.

but, when do:

import javafx.scene.media.media; 

it says "the import javafx cannot resolved". have set jdk 7 preferred jdk in applications/utilities/java preferences added jdk eclipse, , have set jdk project.

i have installed , uninstalled jdk few times.

share|improve question
    
this looks environmental issue - javafx runtime not loaded compiler - if want make reference add jfxrt.jar file libraries being referenced - /library/java/javavirtualmachines/1.7.0.jdk/contents/home/jr‌​e/lib/jfxrt.jar – petesh jul 7 '12 @ 9:06

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -