CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2373|Reply: 15

sun java console

[Copy link]
Post time 18-2-2008 01:36 PM | Show all posts |Read mode
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.
Reply

Use magic Report


ADVERTISEMENT


Post time 18-2-2008 02:59 PM | Show all posts
sudah reinstall ke?
Reply

Use magic Report

 Author| Post time 18-2-2008 03:26 PM | Show all posts
tak..kena reinstall ke? x de cara lain?
Reply

Use magic Report

Post time 18-2-2008 06:57 PM | Show all posts

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

Use magic Report

 Author| Post time 19-2-2008 10:28 AM | Show all posts

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..
Reply

Use magic Report

Post time 20-2-2008 06:13 AM | Show all posts
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:


  1. %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

Use magic Report

Follow Us
 Author| Post time 20-2-2008 12:54 PM | Show all posts

Reply #6 orang_letrik's post

PATH tue kat user variables ke kat system variables?
Reply

Use magic Report

Post time 20-2-2008 04:15 PM | Show all posts

Reply #7 ariean's post

system variables...

kalo nak try keberkesanan console neh..

try simple program

  1. class Demo {
  2.    public static void main(String argv[]) {
  3.       System.out.println("tumpang lalu");
  4.    }
  5. }
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

Use magic Report


ADVERTISEMENT


 Author| Post time 21-2-2008 08:29 AM | Show all posts

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

Use magic Report

Post time 21-2-2008 08:56 AM | Show all posts

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

Use magic Report

 Author| Post time 21-2-2008 04:26 PM | Show all posts

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

Use magic Report

Post time 21-2-2008 06:15 PM | Show all posts

Reply #11 ariean's post

tak boleh... hmy3:
Reply

Use magic Report

 Author| Post time 25-2-2008 04:53 PM | Show all posts

Reply #12 orang_letrik's post

dah buat..
stiill x blh jgak. still hilang.
Reply

Use magic Report

Post time 25-2-2008 08:32 PM | Show all posts

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

Use magic Report

 Author| Post time 28-2-2008 09:38 AM | Show all posts

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

Use magic Report

Post time 28-2-2008 01:12 PM | Show all posts

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
Reply

Use magic Report


ADVERTISEMENT


You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT


Forum Hot Topic

 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

12-12-2024 12:44 PM GMT+8 , Processed in 0.109754 second(s), 33 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list