|
salam semua,
aku nak bukak sun java console kat bahagian tools tp setiap kali aku bukak, die akan tutup balik (die hilang la tetiba). yg peliknye, aku ade 2 komputer, 1 pc biase n 1 lg laptop. yg laptop, java console tue blh bukak, tp yg pc biase tue x leh. knp?
ade sape2 tahu kenapa n cara nak mengatasinye?
p/s: aku gune java v6.
TQ. |
|
|
|
|
|
|
|
tak..kena reinstall ke? x de cara lain? |
|
|
|
|
|
|
|
Reply #3 ariean's post
Tengok dekat Task Manager dulu, ada tak nama program itu
dan end process, kalau ada 3 ke 4 end process semua sebab
kalau ko klik untuk open banyak kali , dia akan keluar banyak kali
juga..ko end process dulu , kaalu tak boleh restart PC, kalau tak
boleh juga reinstall.
[ Last edited by trunks at 18-2-2008 07:42 PM ] |
|
|
|
|
|
|
|
Reply #4 trunks's post
kat task manager, mmg x de. bile buka window explorer, n click sun java console, dgn window sekali die hilang. dah restart, still x leh gak.
so, my last options kena reinstall lah tp x wat lg.. |
|
|
|
|
|
|
|
masuk program java ko kat program files..
contoh je ni...version ko mungkin lain
C:\Program Files\Java\jdk1.6.0_01\bin
copy menatang ni...
pastu ko right click kat My Computer --> Properties --> Advanced --> Environment Variables
ko cari variable nama camni: Path
then paste aje kat belakang address yang dah ade...
make sure address tu diakhiri dengan semi-colon (;)
contoh:
- %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_01\bin;
Copy the Code
pastu ko click OKEH...
dah siap...
< ko nak camni kan > |
|
|
|
|
|
|
|
Reply #6 orang_letrik's post
PATH tue kat user variables ke kat system variables? |
|
|
|
|
|
|
|
Reply #7 ariean's post
system variables...
kalo nak try keberkesanan console neh..
try simple program
- class Demo {
- public static void main(String argv[]) {
- System.out.println("tumpang lalu");
- }
- }
Copy the Code
save file ni dalam C:/
save as Demo.java
then Run --> cmd --> OK
C:\blabla......> cd\
C:\javac Demo.java
C:\java Demo (then enter) |
|
|
|
|
|
|
|
Reply #8 orang_letrik's post
ooo...yg awak bgtau tue utk set path bg run program kan.
sy x nak yg tue.
java yg sy gune dah v6 so, dah x pyh set path. letak je mane2 dah blh run.
yg skrg sy nak try buka sun java console.
kalu awk ade program java kat pc, cube try buka explorer-->tools-->sun java console.
kalu yg ok, die akan kluar pop-up cam
yg masalahnye, kat my pc dgn explorer sekali die hilang.
[ Last edited by ariean at 21-2-2008 08:30 AM ] |
|
|
|
|
|
|
|
Reply #9 ariean's post
awak download java console dari link ni kan
http://www.java.com/en/download/index.jsp
sama je...
untuk nak aktifkan java console...
file JDK dan JRE mesti selari...kalo xde salah satu mmg xleh guna
untuk browser tu...try default setting...
< kalo x set path, camne nak detect java console > |
Rate
-
1
View Rating Log
-
|
|
|
|
|
|
|
Reply #10 orang_letrik's post
ooo..ye ke..
ok, nanti sy try..coz skrg tgh run program..
blh ke change path mase run program..ade effect tak?
[ Last edited by ariean at 21-2-2008 04:43 PM ] |
|
|
|
|
|
|
|
Reply #11 ariean's post
tak boleh... hmy3: |
|
|
|
|
|
|
|
Reply #12 orang_letrik's post
dah buat..
stiill x blh jgak. still hilang. |
|
|
|
|
|
|
|
Reply #13 ariean's post
boleh tau...awak guna IDE ape.
eclipse? netbeans? etc?
kalo dah boleh run dari IDE...watpe nak susah-susah setup console. |
|
|
|
|
|
|
|
Reply #14 orang_letrik's post
sy baru je dlm java nie..
so, just gune textpad je utk run..
tp sy x de mslh nak run program..
nak bukak console tue just nak try fungsi dlm tue je, cam clear cache dsb.. |
|
|
|
|
|
|
|
Reply #15 ariean's post
kalo tak leh jugak...try camni:
dalam Environment Variables jugak..
create new variable,
variable name: JAVA_HOME
variable value: C:\Program Files\Java\jdk1.6.0_04
dan create lagi satu...
variable name: JRE_HOME
variable value: C:\Program Files\Java\jre1.6.0_04 |
|
|
|
|
|
|
| |
|