Java Runtime Environment and installation
843798Nov 26 2002 — edited Dec 10 2002Dear All,
I copied JDK1.2.2 alone from one of my friends machine and had set the path and classpath of autoexec file with this said folder and developed a swing program. It was working very fine...Yesterday, I downloaded "j2re-1_4_1_01-windows-i586.exe" from the "www.java.sun.com" site and installed it in my machine. Right now while executing my swing program, the JFrame is GETTING LOADED..... but i can't able to see my components in that JFrame...
once if i go to the Control Panel ---> Java Runtime Environment---> Remove the said, I can see the JFrame with all its components. Pl. tell me, what is the problem with the software. should i do some settings somewhere, after installing the said .exe file. Pl. advice me...
OKAY, To be very clear,
The thing is, at any type of situation(whether j2re installed or not), my FRAMES (not JFRAMES) are getting executed/visible (Also the components placed inside are visible). But as far as the JFrame is considered, only if i uninstall my "j2re-1_4_1_01-windows-i586.exe", I can able to see my components inside my JFrame. It is not that, I CAN'T see my JFrame. JFrame is getting loaded/visible. But the components placed inside it are not visible.(At the time, when the above said j2re is installed).
So i tried of giving a new classpath in my autoexec.bat file as follows:
set CLASSPATH=C:\Program Files\Java\j2re1.4.1_01\bin;C:\Program Files\Java\j2re1.4.1_01\lib;C:\Program Files\Java\j2re1.4.0_02\bin;C:\Program Files\Java\j2re1.4.0_02\lib;
Also in the control panel, i changed as: (windows NT Workstation):
Control Panel--->System---->Environment(TAB)------->the variable is CLASSPATH and the value is .;.;.;C:\Program Files\Java\j2re1.4.1_01\bin;C:\Program Files\Java\j2re1.4.1_01\lib;C:\Program Files\Java\j2re1.4.0_02\bin;C:\Program Files\Java\j2re1.4.0_02\lib;
But still i am facing the same problem...
pl. advice me....hope i should change some thing in the Reg edit.....
bye & waiting for ur reply,
GEETHA C.
P.S: I am using windows NT Workstation. The thing is It is NOT that, i CAN'T able to see my JFRAME...I can see my JFRAME....but the components placed inside them are INVISIBLE....(At the JRE installed state)...Pl. advice me....
**********************************************************