Pakages & how to added them to your CLASSPATH  under Linux OS

Yesterday i posted a question how to setup a CLASSPATH under
win2000. Finally with some help i got to work perfectly.
here is the link for that thread if any one interested in it.
http://forum.java.sun.com/thread.jsp?forum=31&thread=277111
Now my question how to do the same thing under Linux OS. I'm using
linux Redhat 7.3. Just to give you an idea, i have created a package is structure shown bellow. I'm looking to add the package somehow to my
CLASSPATH or setting it up inorder to be able to import it in any application i might need to that package for.
archives/mo
archives/mo/util
archives/mo/io
archives/mo/fileutil
... Any idea how to do that in Linux

Hi,
Ok edit .cshrc file in your root dir, and add a line
set CLASSPATH=( pkg_a pkg_b pkg_c . )
this should work, if not try a few different configurations on the command line like infact try this first then edit your .cshrc file
[ option 1 ]
home> set CLASSPATH=(pkg_a pkg_b .)
home> echo $CLASSPATH
pkg_a pkg_b
home> { then try a sample java program }
[ option 2 ]
home> set CLASSPATH=pkg_a:pkg_b:.
home> echo $CLASSPATH
pkg_a:pkg_b:.home> { then try a sample java program }
regards,
gearoid

Similar Messages

  • How to add patch in Oracle Payable under Linux

    Hi All
    I want to know how to apply a patch in Oracle under Linux environment. The problem is that I'm a Newbie in Oracle and i'm not a DBA and also i have little knowledge in Linux environment.
    Apps: 11.5.9
    OS: Linux x86
    Patch : 7309767
    Thanks
    Edited by: 883454 on Sep 6, 2011 5:07 PM

    Wrong category forum.

  • After buying apps how to get them to your touch

    i have got 39 apps and cannot figure out how to get them onto my touch.

    You need software version 2.0 or higher on your iPod. http://www.apple.com/ipodtouch/softwareupdate.html
    If you have it, connect your iPod to your computer, open iTunes, select the iPod under devices, go to the Applications tab, and select the sync option you want.
    You can't manually manage Applications like you can music and videos. However a app sync will not affect your music and videos.
    "6. When manual management is enabled, you can still sync some content automatically. Select any content tab such as Video to enable automatic syncing for that type of content." http://support.apple.com/kb/HT1535

  • How to use DAQ as a soundcard under linux

    Hi,
    My goal is to use a pci-4461 as a high accuracy replacement for a soundcard in a linux environment. The programming language should be C.
    I have already looked at the examples that come with the linux driver but my problem is how to exchange the audio data with other applications in real time.
    My other application is a softphone for IP-telephony that normally uses the /dev/dsp device under linux to exchange sound with the soundcard. (This can be changed to another device from within the softphone). Now, I want the softphone to read from and write to the DAQ instead of the soundcard. So the DAQ should be configured for continous analog input and output and give the data to the softphone in real time.
    Do you have any ideas how to do that with the nidaq-C-functions?
    Thank you for your help
    Fabian

    This example might help:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=EE91CE2098BB42C1E0340003BA230ECF&p_...

  • How to enable OCR with Scangear MP under Linux for MG8250?

    Under Linux openSUSE 12.3 I use Scangear MP 1.80 for my Canon PIXMA MG8250.
    As a scan target (in my German GUI it's "Ziel") I can choose "OCR". But there is no text output, the scan is just saved as a picture. How can I configure Scangear to open the scan via Tesseract in a text editor.
    By the way, the target "Print" (in German "Drucken") leads to saving just as well, though there is at least one printer at hand, of course.
    It's a pity that the pixma scan drivers that are shipped with openSUSE don't work with xsane (the scanner starts working, but stops after one third of the page). Using xsane with a different scanner I can use OCR successfully.
    Volker

    There are two basic types of core OCR algorithm, which may produce a ranked list of candidate characters.
    Matrix matching involves comparing an image to a stored glyph on a pixel-by-pixel basis; it is also known as "pattern matching" or "pattern recognition". This relies on the input glyph being correctly isolated from the rest of the image, and on the stored glyph being in a similar font and at the same scale. This technique works best with typewritten text and does not work well when new fonts are encountered. This is the technique the early physical photocell-based OCR implemented, rather directly.
    Feature extraction decomposes glyphs into "features" like lines, closed loops, line direction, and line intersections. These are compared with an abstract vector-like representation of a character, which might reduce to one or more glyph prototypes. General techniques of feature detection in computer vision are applicable to this type of OCR, which is commonly seen in "intelligent" handwriting recognition and indeed most modern OCR software. Nearest neighbour classifiers such as the k-nearest neighbors algorithm are used to compare image features with stored glyph features and choose the nearest match.
    Software such as Cuneiform and Tesseract use a two-pass approach to character recognition. The second pass is known as "adaptive recognition" and uses the letter shapes recognized with high confidence on the first pass to better recognize the remaining letters on the second pass. This is advantageous for unusual fonts or low-quality scans where the font is distorted.
    So I wonder which kind of OCR algorithm are you using?

  • How to text someone without adding them to your contacts

    I have an iphone 5 and I would like to know if it is possible to text a number without first adding it to my contact list.
    Thanks

    Thanks Chris,  that worked.  I had to do one other step though,  when I click on my message app.  I get a list of all of my contacts there is no To: section.
    I  noticed though  that in the top right hand corner was a little box with what looks like a pencil on top of it.
    I clicked on that to see what it was and it brings up the New Message window.
    See I just needed a nudge in the right direction not bad for and 81 year old lol

  • I have an Ipad and several Ipods. We have deleted some songs from our devices but they still show up gray shaded. They don't play but I'd like to know how you remove them from your devices completly?

    I have several Ipods and an Ipad. We have all deleted music from our devices and the problem we are having is the song itself is gone which is what we wanted but the song title is still on the devices. It's grey and it won't play but I want to know how to remove the deleted songs completely off my devices.

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • How can I use the windows LookAndFeel under linux??

    Some sample code would be great ;-)
    Thanks a million,
    Serano.

    really ? amazing ....
    I don�t like this "range agains MS" wave, but it is a ridiculous stuff.. to protect the visual aspect of a system ?!?
    crazy world....
    anyway, you may "simulate" the Windows look and feel, but I think it is much effort just to set a GUI visual aspect...
    two forms of this "simulation":
    1 - search in the SUN jars and get the file containing this L&F definitions, then change some classes name and create a new (fake) class defining the Win L&F
    2 - create a theme class containing colors, borders and all other necessary stuff to simulate the Win L&F.
    of course the second way is much more elegant (and honest :^) ) .. but, you know, when a big company plays a bad game,all other players may adopt the same behaviour :^)))
    take a look in the MetalWorks example about how to create a customized theme (if you still motivated to use something like Windows L&F)
    I�m a little bit shocked with this copryght restriction.... it doesn�t make sense...

  • How do I download firefox for windows under linux or older versions?

    When I go to download firefox it detects I am using ubuntu and offers me the version for that OS.
    But I want to download the windows version for installing in wine (and what if I want to download it for other reasons too)
    How do I get past this autodetect so I can download for the OS I wish to download for, and the version I want. I may not want the latest version of firefox.
    Or put another way, how can I pick which firefox I wish to download?

    I don't know about other versions, but if you click the Systems and Languages link under the download button, you can find all languages and OS downloads. [https://www.mozilla.org/en-US/firefox/all/ All Firefox Downloads]

  • Some SMS conversation are des appearing from my iPhone.. Why? How to catch them back? Camilla

    Some SMS conversation are des appearing from my iPhone.. Why? How to catch them back? Camilla

    Check under Settings > iCloud to see if the Contacts switch is ON (green side showing). If it's already on, switch it off for 30-60 seconds, then back on again. Your contacts should start showing up shortly.

  • After Updating iBook on my ipad , Some PDF  files missed . how should restore them

    After Updating iBook on my ipad , Some PDF  files missed . how should restore them?

    Your posted question is the key to your answer - sync them back to the iPad. You can still connect the iPad to your PC, launch iTunes, select your iPad name from the left side under devices - then go to the apps tab in iTunes and select all of the apps to sync again.
    Make sure that the Sync Apps heading is selected as well. If you make changes to the app configuration, click on Apply in the lower right corner of the iTunes window.

  • HT3529 How do I send a group text, I have set up groups in my gmail account but can't figure out how to send a group text without adding them all individually

    How do I send a group text message, I have groups set up in my gmail account but can't figure out how to send a group text without adding them all individually ?

    You can use iCloud:
    Step 1. Log into www.icloud.com using your Apple ID.
    Step 2. Click on Contacts and then click the groups ribbon (the red icon with two people) which is on the left-hand page when viewing All Contacts.
    Step 3. The left page changes to a list of Groups (only those groups stored in iCloud are shown). Click the + button at the bottom to add a new group.
    Step 4. Type a name for the new group and press Enter to save it. To change it after this, double-click its entry in the groups list.
    Step 5. To add contacts to the new group, click on the All Contacts group and locate the first person to be added (you can use the search bar to find them quickly).
    Step 6. Drag their name on top of the new group and drop it to add it to that group.
    Step 7. To add more contacts, repeat steps 5 and 6, but you can add multiple contacts at once by pressing Ctrl (on a PC) or Command (on a Mac) and clicking on each contact in the list that you wish to select. Then, drag one of the highlighted names to the new group and they will all be added.
    It's possible to add names to more than one group, and you can create as many groups as you like.
    Step 8. Launch the Contacts app on your device (iPhone, iPod touch or iPad) and you should see the new group appear almost immediately - as long as you have an internet connection.
    Until Apple builds in a function to create groups directly within the Contacts app, this is the best way to do it.

  • How do you delete photos from your iPad without deleting them from your Mac or iCloud?

    How do you delete photos from your iPad without deleting them from your Mac or iCloud?

    in iPad to Delete a photo or video: Tap trash icon. If you don’t see trash icon, tap the screen to display the controls.
    If they were added from your computer, you need to Sync and uncheck them and then sync again...
    Ipad User Guide  Page 61
    http://manuals.info.apple.com/en_US/ipad_2_user_guide.pdf

  • How do you get your album's songs to stay together when you put them on your ipod/iphone, when some songs have a ft. artist?

    How do you get your album's songs to stay together when you put them on your ipod/iphone, when some songs have a ft. artist?
    Even when I try to change the featured artist in my I tunes, it won't stay with my other songs, and I want to be able to listen to my album in the order of the songs that the album has it.

    The iTunes/iPod software isn't set up to let you sync songs from more than one libray, but if you manually manage the iPod you can add tracks from multiple computers without removing the existing content. Personnaly I think syncing with a library is a much better way to manage your iPod, so I'd suggest you just copy the stuff you bought at work onto a memory stick, then take it home and import it into your iTunes library there.
    tt2

  • HT203167 hey folks has anyone else lost all their ring tones from your library cause mine has disappeared and now i have no ring tones and i dont know how to get them back can some one please help me thanks

    Hey can you guys advise me on how to find missing ringtones please

    Ringtones are currently a one-time only download from the store, so they won't appear in the Purchased link for re-downloading. Are they in the Tones section of your computer's iTunes library - by default your library is stored under:
    Mac OS X: /Users/username/Music
    Windows XP: \Documents and Settings\username\My Documents\My Music\
    Windows Vista: \Users\username\Music\iTunes
    Windows 7 and Windows 8: \Users\username\My Music\iTunes
    And if you have ringtones in your library then there should be a Tones Directory underneath that.
    If they aren't there then do you have them on your backup of your downloads ?
    If not, and they are still in the store, then you could try contacting iTunes Support and see if they will grant you a re-download of them

Maybe you are looking for