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 I want to be able to deploy a customised ASPX page in a Visual Studio WSP solution to my site. There is a file named CopySharedPage.aspx which is used for the dialog that pops up when you edit a page that has multiple friendly URLs. Our users get [More]
Hi All, I had a kernel panic last night that darn near wiped out my PowerBook G4 (running Mac OS X 10.3.9 with all of the latest software updates.) Since I couldn't get Finder operable past my desktop image, and I'd had a kernel panic just prior to t [More]
every time I start up Google email it goes to mobile view even if I switch it to desktop view.Clear the cache and the cookies from sites that cause problems. "Clear the Cache": *Tools > Options > Advanced > Network > Offline Storage [More]
Hi Gurus,      I made chandes in SO10 standard include this include can be used in Script, when ever I copied script from DEV client to Test Client changes are visible in SO10 include text But not reflecting while executing the Script through Transac [More]
I am a beginning learner and have a test for Database Server (Oracle 9i). There are about 1000 employees in this company ,and about 100 employees at the same time to use the online service in any time. On hardware,there are a new Intel Xeox with 4 HD [More]
Hi, I have created a servlet which generates a PDF report. The servlet is called through a html standard link. All this work well but I would like to avoid calling the servlet through the url because it risks to change. There is means to call a servl [More]
I recently started to notice (about 2-3 days ago) that the loading of a webpage was slower than normal. I started to investigate and realized that it was just when loading a webpage and that when I tried to download something or use internet in any o [More]
I like the Genius option but have a lot of songs and I'd like to defualt the number of songs to 100, or more?!?!? Any idea how to accomplish this? Thanks, Darren    Pernille, Work number in Lync is populated from Active Directory "Telephone Number&qu [More]
Hi All, I'm using ODI 10.1.3.5 and trying to load data from sql to essbase. Then my problem is.. when I want to choose the IKM in my interface, the IKM SQL to Hyperion (Data) and the IKM SQL to Hyperion (Metadata) aren't appear. Whereas I've import t [More]
I developed a website but when I uploaded it, the site is to the left of the screen. How do I get the site to be in the center of the screen?I'm answering my own question. Please disregard the question. It's only happening on my computer.Read other 2 [More]