Associate
- Joined
- 21 May 2003
- Posts
- 1,008
Hi. Just installed the java SDK on my vista machine but i'm having trouble getting any library functions to work.
for example i'm trying to use square root (sqrt) which is in java.lang.Math. I've put this at the top:
but when i try to compile I get "cannot find symbol" and points to where I've used sqrt.
i have the same trouble when tryin to use words for colours (i..e black rather than 0,0,0 RGB).
anyone have any ideas?
for example i'm trying to use square root (sqrt) which is in java.lang.Math. I've put this at the top:
Code:
import java.lang.Math;
but when i try to compile I get "cannot find symbol" and points to where I've used sqrt.
i have the same trouble when tryin to use words for colours (i..e black rather than 0,0,0 RGB).
anyone have any ideas?