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 All, Our Landscape: SAP ECC EhP1 SAP BW 7.10 SAP BOBJ XI 3.1 (WebI/Crystal/Xcelsius) SAP BPC NW 7.5 We are new to BPC. We would like to know where do we need to develope the reports on BPC data. Can some one help me on this. If some one have any b [More]
After wasting a week troubleshooting several problems with two iPod Touch 2Gs, I have come to this conclusion. If everything is working correctly on your iPod Touch under iOS 3.1.x, *DO NOT UPDATE TO VERSION 4.0*!!! Apple will not take any responsibi [More]
My presentation is like a slideshow and the images are all loaded in my library and draged and drop onto the stage, which they all can be viewed just fine. All are jpeg and relatively the same file size, nothing really differant about them, but when [More]
Hi, please can anybody help me... I am using iTunes 5.0.1.4 on Windows XP with service pack 2. Today I restarted iTunes and the library is empty. All music gone, all playlists gone. I checked the FAQs and older articles and tried everything (reloadin [More]
Hi, I have a BSP application that runs on a unicode system which retrieves data to be output in pdf from a non unicode sap system. We get the data from the non unicode system through a RFC call and store data in table otfdata type itcoo, then we perf [More]
'push' as I understand it, means the client is always in connection with the mail server- so when new mail comes in, it doesn't sit on the server until the client's schedule tell it to check for new mail (this applies to both POP and IMAP). Does anyo [More]
I'm making the switch to a Mac from my PC. I ordered logic Studio, it installed fine. I was watching tutorial videos and went to open it up and the icon just bounced up and down, the loading window came up, acted like it was going to load, and then.. [More]
My daughter locked her Ipad so I restored it and now am trying to activate it.  It ask for a apple id/pw but the one she thought it was is not working.  Any suggestions?Activation Lock http://support.apple.com/kb/PH13695Read other 4 answers [More]
can you tell me the information through which we can include psp in our jsp pages with the <jsp:include/> tag ,since it is mentioned by oracle documentation we can include psp pages in our jsp. So can somebody give me the solution since in my projec [More]
i have a serious problem with pacman, i hope someone can help me out. i've tried to create a local repo and made a really stupid mistake by calling it 'testing' (i used repo-add) now if i try to update the system with -Syu I get a flood of warnings f [More]