Amicuk Programming Answers

What is a classpath and where is it?

-0001-11-30   Views:1


hi... i am writing a program that requires me to include some directories in the classpath...but i don't where the classpath is..and how do i input the names of the directories...or do i run from it..actually i don' know a thing about classpaths..but

i am writing a program that requires me to include some directories in the classpath...but i don't where the classpath is..and how do i input the names of the directories...or do i run from it..actually i don' know a thing about classpaths..but i have to know in order for my program to run properly..thanks...

The replay answer
A classpath is an environment property which allows the JVM to locate classes so that it can load them (to run).
in a windows environment, u can type "set classpath=..." where ... is the directories containing your class files.
For more information, do a search on "setting classpath". I believe many other users had similar problems with classpaths

Go to See the other 5 answers

Classpath error while building the web dynpro project

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

Hi I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i[More]

Why WLS do not refresh the class in CLASSPATH?

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

as title, and I have set development mode.Hi, due to classloader hierarchies, classes on the system classpath can not be refreshed (HotDeployment). If you want to use HotDeployment, you will have to load your application (and classes) through a WAR o[More]

Can not find xml file in classpath

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

Hi, Can someone tell me how I can please or find a xml file in de webdynpro classpath: I have to place a xml and jar files in the classpath. The jar files are found in the application, but I get the following error:[More]

Jar Files in a Jar File - Classpath Error

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

Hi, I created a jar file that will have all the class files of the application. In the manifest file class path, I have the jar files the application is dependent on. The dependent jar files were kept outside of the application jar file. I was able t[More]

Difference between path and classpath

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

Difference between path and classpath?PATH - set of paths there executables will be found. CLASSPATH - set of paths and archives there class files will be found.Read other 3 answers[More]

Why getResource of jar in classpath returns null?

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

When i iterate through the jars in the classpath and try to turn them into URL's via the getResources(), they all return null. What am I doing wrong? (NOTE: It does print out the classpath properly when i print that out) String classPath = System.get[More]

Classpaths inside of Jar's effect on command line cp

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

If I have a jar with Class-Path set in the manifest, will Java ignore the classpath I use at the command line: java -cp conf/;lib/a.jar If "a.jar" has the class path in the manifest, will the cp I try to pass[More]

Not able to load jspx file from the classpath in Integrated OC4J

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

Hi, I am using integrated OC4J from my jdeveloper to deploy my application as an ear file. It contains one jar file (with ejb deployment desscriptors) and a war file (including Model and Viewcontroller project contents). The war file contails a jspx[More]

Problem with Class and Classpath

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

Hello ME Windows Users, now before you place a wry smile on your face, I have a problem with path and classpath. Stop it, I can see you smiling! By visiting the the last 10 pages of the forum and reading Sun installation notes, some tooldocs and by g[More]

Problem with classpath for XP

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

i've made a java applet with three classes, two of which are classes to construct variables needed for the main interface to work. but the interface class cannot recognise that the other two classes exist. it gives out the cannot resolve system error[More]

Use of deployment classpath or shared-libraries to pick-up "custom" classes

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

Hi, I’m trying to determine an approach to dealing with how classes are found in a deployed ADF application via classpath, etc. I’ve tried to explain the situation below as best I can so it’s clear. If you have any comments/suggestions as to how this[More]

Hi All, We have one background job running everyday in production. The jobi sgetting finished and when we check the job log in SM 37, it gives one spool request no. But when we check the sppol no in SP01, it says 'No list available'. Can anyone pls p [More]
Hi all, Anybody knows how to transfer an xml file to NW Portal Knowledge Management from XI? What kind of adapter type I have to choose? And which procedures I have to do in KM Portal? Create a folder, what kind of folder and permissions? Suggestions [More]
Hi, This is my first posting to the Apple community, so please forgive me if have missed a previous posting on this subject. I have an early 2013 15 inch MBPro retina running 8 gigs.  My previous device was a MBpro 15 early 2008 4 gigs of ram.  I nev [More]
Hi, is it possible to plug a hd-videocamera with mini-hdmi to the mini displayport to send a live-stream? the new hd-cameras have no firewire anymore. I need the video- and audio-signal. Thanks, JoachimHDMI capability is limited to output on your MBP [More] Video Main video camera Video recording formats: 3GP/H.263, MP4/MPEG-4 So how i can change recording format from 3GP to MP4? i can't find ,phone RM-953 have latest firmware v 10.34Please, co [More]
Hi, is there a way to leave a CD in the Xserve G5 DP 2,3 when the enclosure is locked. I can unlock it und then put a CD in the drive. When the CD is mounted i can lock the Xserve - the Disc is still accessible and stays in the drive. Good so far. Bu [More]
I have gone to 'tools' and tried entering facebook as an exception. I have also tried temporarily disabling pop-ups all together. Neither have worked and i can't upload videos to facebook due to firefox security. Please help??I have gone to 'tools' a [More]
We are planning to purchase around 25 computers for a computer lab for working with CS4 Production Premium at the high school level.  Mainly Premiere Pro, After Effects, and Photoshop.  Our budget is, unfortunately, a mere $550-$625 per machine (just [More]
--when i bookmark a video from you tube or anywhere else--the video keeps playing in the background--there is no tab--this happens with certain flash sites as well--i remedy the problem by restarting the browser or making a non video bookmark right a [More]