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
I have downloaded the  latest version of iTunes onto my new laptop (Windows 8, dont know if that makes a difference), library was all there as its all floating up the clouds somewhere but on attempting sync with my iPod Classic its only synching 1600 [More]
After I installed I noticed that this process was consuming nearly 100% of CPU capacity. Restarting and logging into a "clean" admin user did not show this but logging in under my own user showed the activity appearing after a few minutes. Addre [More]
Hi Frnds, Can the Vendor and Customer be maintained as Main Ledgers. When they can be maintained so, why the sub ledger concept is introduced & what are its advantages. Help me on this. Regards, Venkata.Hi Venkata, We can maintain Vendors and custome [More]
Hi All, I want to select names from my XML strating with Character 'A'.is there any logical operator which helps me to do that,something like in SQl. e.g: <Rowset> <Row> <Name>Annie</Name> <Class>VIP</Class> </Row> [More]
at http://msdn.microsoft.com/en-us/library/jj728659.aspx it says Association columns are not available in Sharepoint 2013 Workflow  But http://msdn.microsoft.com/en-us/library/dn292551.aspx#bkm_07 is suggesting to use Association columns in Sharepoin [More]
Hi Do you recommend Server 2008 R2 to 2012 R2 in place upgrade for both DCs and member servers? Thanks ShaneHi, From the MS support lifecycle, the mainstream support for Windows Server 2008 R2 would be end in 2015. To upgrade to Windows server 2012 R [More]
When we have a user move from one OU to another, we are told that this UpdateNativeDir utility fixes the problem. 1. Does this utility only update the Shared Services relational database? 2. Are there other steps required to update security for users [More]
How can i use AMD Radeon R9 M290X with 4 GB inside an iMac 5K with Premiere Pro CS 5.5 to use the GPU supporting of Mercury Playback Engine. Is there a patch or update for CS 5.5 available which support this. I want to stay with CS 5.5 now, i am happ [More]
Can't Zap the P-RAM , Can't start from an installer disk with the C-Key... or The D-Key for Apple Hardware test or run with the shift Key in Safe Mode!!! About a week ago I started to have problems with the Mac after 10.5.6! First the Mac after shut [More]
Can someone explain what I consider strange behavior on the part of iTunes syncing? I have noticed it with my old 3rd gen iPod, my iPhone, and now my new new Nano. Here's what happens: 1) I have smart playlists set up for each my podcasts, so that th [More]