View: 3014|Reply: 7
|
how to create package in JAVA ?
[Copy link]
|
|
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... |
|
|
|
|
|
|
|
kasik tunjuk skit ur program coding..
leh detect yg mana error tu..
sure ramai yg leh bantu |
|
|
|
|
|
|
|
kalau dump dalam zip file je (normal compression) pastu rename .zip to .jar, jalan tak? |
|
|
|
|
|
|
|
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.. |
|
|
|
|
|
|
|
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... |
|
|
|
|
|
|
|
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? |
|
|
|
|
|
|
|
thanks shahnazz..
malam nie gul try...
mintak2 la jadi...
kalo takleh jugak..nak menyerah diri kat lecturer java nie... |
|
|
|
|
|
|
|
prob solved...
gul tak copy package rupenya... |
|
|
|
|
|
|
| |
|