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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

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

php - Get uncommon values from two or more arrays -