Sitemap

Amicuk Programming Answers

Problem with packages

2015-10-11   Views:0

Advertisement

hi.. i have made about 3 java files in the folder "pack1" n put those files in the package by writing package pack1 as the first line in those files. When i use those classes in a fourth file which is also in the same folder, it somtimes sayz &q

hi..
i have made about 3 java files in the folder "pack1" n put those files in the package by writing package pack1 as the first line in those files. When i use those classes in a fourth file which is also in the same folder, it somtimes sayz "class not found" or "package not found". I have succesfully compiled the above 3 java files but the problem still persists. I have used the statement import pack1.*; in the fourth file, but to no use.
Can anybody figure out what the problem is. Thanks in advance.

The replay answer
Advertisement
hai,
problem is very simple..
set classpath=.;%classpath%;x:\urpack1
x is a drive or urs like c or d ..
ur dir name...
or simple u just save ur fourth file out side of that dir..
set classpath = .
java ur exec class file
i hope it helps u

Go to See the other 2 answers

Problem with packageing and deploying a sample application

Category:DefaultRelease time:2015-10-11Views:130

HI, I have tried to download and install the server in my system. I am able to deploy a sample application using autodeploy utility. But when i tried to package a new sample application and deploy i am getting 404 error. For application server i have[More]

Problem with packages, part duex

Category:DefaultRelease time:2015-10-11Views:130

Solaris 11 x86 under VBox Continuing from problem adding packages I got the mechanics of adding packages working and successfully installed the packages for x11 support.  Next I need to add some packages to install Oracle database.  Packages are list[More]

Problem importing packages...

Category:DefaultRelease time:2015-10-11Views:130

hello! I am learning Java for a while. I have a very strange problem with packages. The problem is the next one: When I import the complete package like this: import ThePackage.* I got the following the next errors: main.java:8: cannot resolve symbol[More]

I wanted to know explain my problem down package cc2014 where I put the serial number of the problem that I have is that when you open the program asks me start of session in which he put it and go but back inside and it drives me to request the start of

Category:DefaultRelease time:-0001-11-30Views:130

I wanted to know explain my problem down package cc2014 where I put the serial number of the problem that I have is that when you open the program asks me start of session in which he put it and go but back inside and it drives me to request the star[More]

Having problems adding packages

Category:DefaultRelease time:-0001-11-30Views:130

I downloaded the Solaris (Sparc) companion CD's Dependency Package. It contains 14 or so files that I think should be patches. I run "pkgadd -d . " from my directory where they are and it says their are no packages to add. http://www.sun.com/sof[More]

Rather odd problem with package naming...

Category:DefaultRelease time:2015-10-11Views:130

Background info: I'm working on a web-based application, on a Tomcat server. Classes (and packages) must be in a subfolder of WEB-INF/classes of the app's root. So the packages are in WEB-INF/classes/com/<package>. The older packages are in com/gest[More]

Problem in Packaging .ear

Category:DefaultRelease time:2015-10-11Views:130

Hi I had probelm here about packaging my j2ee project. since i had migrated from jboss AS 4.0, myEclipse 3.8.4,eclipse 3.0.1 and jre 1.4 to jboss AS 4.2, myEclipse 5.5GA,eclipse 3.2 and jre 1.6 this problem occurs... would somebody explain to me furt[More]

A problem with Package Paths.... i think

Category:DefaultRelease time:2015-10-11Views:130

Hey im struggling with these errors im getting. First i should ecplain the layout this is the directory im working with public_html>WEB_INF>classes>com Ok i have 3 java files in here which all compile happily until i try and put them into a packa[More]

Filename problems with packages

Category:DefaultRelease time:2015-10-11Views:130

problem. We created Incopy packages from a file example.indd We then for various reasons changed the name of the file to newexample.indd Now we are having problems bringing the incopy files back into the file. I can see why we we might be having prob[More]

Problem with package that create mail with PDF attachment

Category:DefaultRelease time:2015-10-11Views:130

Hola, I've this problem when I use the Oracle Package called "demo_mail", that I have download from this forum en september. The code of the Package, I post bottom, now I write the records of the Package, that I believe is the core of the proble[More]

Problem with packages

Category:DefaultRelease time:2015-10-11Views:130

hi.. i have made about 3 java files in the folder "pack1" n put those files in the package by writing package pack1 as the first line in those files. When i use those classes in a fourth file which is also in the same folder, it somtimes sayz &q[More]

Hot
Hi Can anyone share with me how to achieve to schedule the query in background without broadcasting? Thus, the output result from background has to be in Excel format just like BEX report. Regards KRHi Kang, Check out if this link can be a bit of hel [More]
help me out!Even though you're getting a different number, perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) sect [More]
hi, can someone please post some code on how to send more than one person the same email, i tried what's below but get an error: //  Send message out as email via JavaMail //  Emails for group 1 String namesOne[] = {"[email protected], [email protected] [More]
The phone dies really fast, and this has only been happening recently.  I also leave it overnight to charge every night, and nowadays, it only charges to 30%.  I ran the battery down every month prior like its recommended. Also, is it possible that t [More]
I just saved and closed a large TIFF with a couple of layers.  I thought that it was under 2Gb, but the finder says that it is 2.4Gb.  Now when I try to open it, I get an error message saying that the file is not compatible with this version of Photo [More]
I wanna look at all my history filesOn Android, you can tap the address bar and then select the history tab. Then you can scroll through it or search though it by typing in the address bar.Read other 2 answers [More]
This is not critical, but annoying.  I can change the mouse or trackpad parameters by user, so anyone can use their own mouse or trackpad adjustment.  However I can not locate how to change this parameters for the welcome or user selection screen.  I [More]
I thought this was a pretty simple process. I heard that you can make it so that when you import photos into iPhoto it will leave the pictures and/or folders in their original file system and NOT import them into iPhoto's file system. I was really ex [More]
hi, we made some ddic modifications (addes some fields to sap-tables accoring to oss-notes, also structures with .INCLUDE). now in SPDD the system wants to create an Append Structure and it is impossible to just use the modifications as done accordin [More]
Hi, I need to have more than one Detail table in Master Detail Forms. I want to see the details of the rows of the first Detail table in the Second Detail table. Please guide me to do this. Sincerely yours, MozhdehYou can do one of two things 1) Depe [More]