CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 3017|Reply: 7

how to create package in JAVA ?

[Copy link]
Post time 24-9-2006 04:04 PM | Show all posts |Read mode
tolong..give me the idea..
dah banyak kali aku wat..error je..
dah create package..set class path..tp bile compile,
error yang sama jugak...
Reply

Use magic Report


ADVERTISEMENT


Post time 24-9-2006 11:30 PM | Show all posts
kasik tunjuk skit ur program coding..
leh detect yg mana error tu..
sure ramai yg leh bantu
Reply

Use magic Report

Post time 26-9-2006 09:20 AM | Show all posts
kalau dump dalam zip file je (normal compression) pastu rename .zip to .jar, jalan tak?
Reply

Use magic Report

 Author| Post time 26-9-2006 12:49 PM | Show all posts
D:\psm\tiny radius\src\org\tiny radius\attribute\RadiusAttribute.java:3: package org.tinyradius.dictionary does not exist
import org.tinyradius.dictionary.AttributeType;

kuar error cm ginie.. kl tak salah..program takleh identify package kan? aduh...
dahla esok nak present nie... isk2..
Reply

Use magic Report

 Author| Post time 26-9-2006 12:59 PM | Show all posts
C:\Documents and Settings\hunnybunny\Desktop\net\sf\jradius\client\gui\JRadiusSimulator.java:79: cannot find symbol
symbol  : class RadiusClient
location: package net.sf.jradius.client
import net.sf.jradius.client.RadiusClient;

rasenye nie main error..and this problem leads to other error...
Reply

Use magic Report

Post time 26-9-2006 02:26 PM | Show all posts
add classpath macam ni masa nak run:

java -cp .;<jar_file_1>;<jar_file_2> <class>

insert the dot (.) at the beginning of the classpath to include all java classpaths

tak pun kalau nak test, dump all your classes and packages in a single directory and run from there. jalan tak?
Reply

Use magic Report

Follow Us
 Author| Post time 26-9-2006 05:24 PM | Show all posts
thanks shahnazz..
malam nie gul try...
mintak2 la jadi...
kalo takleh jugak..nak menyerah diri kat lecturer java nie...
Reply

Use magic Report

 Author| Post time 6-10-2006 02:36 AM | Show all posts
prob solved...
gul tak copy package rupenya...
Reply

Use magic Report


ADVERTISEMENT


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

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


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

16-1-2025 12:48 AM GMT+8 , Processed in 0.043723 second(s), 23 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list