JDBC OSX 10.4 classpath and xcode

Here is my classpath
echo $CLASSPATH
/Users/m3the01/oracle/jdbc/lib/classes111.zip:/Users/m3the01/oracle/jdbc/lib/nls_charset11.zip
Im getting the oracle.jdbc.driver.oracledriver error
Any tips on adding the drivers to xcode would also be appreciated.
I attempt to build by
javac -classpath $CLASSPATH *.java
java mainapp
Than i get the noted error from the call
try{
     Class.forName("oracle.jdbc.driver.OracleDriver");     
}catch(ClassNotFoundException e){
               JOptionPane.showMessageDialog(null, "DatabaseConnectionManager:OracleDriverCheck:\nError: " + e.getMessage(),
                                                  "Error", JOptionPane.ERROR_MESSAGE);
          }

Please not i can resolve all these issues if i place the two files in
/System/Library/Java/Extensions/
folder
Everything in xcode and through javac terminal compiling and execution works perfectly.
However i understand this is not the correct method and would really like to get the classpath method working in both xcode and javac terminal comping on mac os 10.4
thanks

Similar Messages

  • Illustrator CS4 SDK on Apple OSX 10.6 Snowleopard and Xcode 3.2 howto

    I can't compile any of the samplecode from the current illustrator CS4 SDK
    ai_cs4_sdk_mac_367 on an Apple Mac with OSX 10.6 snow leopard (SL) and Xcode 3.2
    (see some errormessages at end)
    The documentation mentions Xcode 2.4.1.
    Is it possible at all to use this SDK 367 with snowleopard and Xcode 3.2 ?
    If not, then how do you plug-in writers update your illustrator plug-ins for working on Snowleopard ?
    thx, j.
    some of the errors I get while compiling the 'Tutorial' samplecode for "10.6|Debug|i386" are :
    ../../illustratorapi/illustrator/AIRaster.h:221: error: conflicting declaration 'typedef long unsigned int uint32'
    /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/cssmco nfig.h:69: error: 'uint32' has a previous declaration as 'typedef uint32_t uint32'
    AIPlatformFileDlgOpts::AIPlatformFileDlgOpts()
    ../../illustratorapi/illustrator/AIUser.h:381: error: extra qualification 'AIPlatformFileDlgOpts::' on member 'AIPlatformFileDlgOpts'
    /Applications/ai_cs4_sdk_mac_367/Adobe Illustrator CS4 SDK/samplecode/Tutorial/Resources/Tutorial.r:20:0 SysError 0 during open of "TutorialID.h".

    thanks mrwren, for your confirmation that you could compile the
    samples from ai_cs4_sdk_mac_367. I searched further and found e.g. the following fixes:
    sample: Tutorial
    1. AIRaster.h
    below #define BRAVO_TYPES:
    //typedef unsigned long uint32;//loj outcommented
    2. AIUser.h
    /*AIPlatformFileDlgOpts:: loj commented out*/ AIPlatformFileDlgOpts()
    : fCount(0), fFilters(NULL)
    3. TutorialID.h
    add the file Tutorial.h to the Groups&Files section of the Tutorial.xcodeproj window
    by dragging it from the finder into this Groups&Files section
    (The right click > "Add > Existing Files … " did not let me do this (file was gray although rwx-access))
    I compiled for "10.6 | release | i386" and the resulting plug-in Tutorial.aip
    did load well into AI CS4 14.0.0 and worked OK.
    sample: Annotator:
    changed project settings
    -Architectures > Base SDK : "/Developers/SDKs/MacOSX10.4u.sdk" changed to "Mac OSX 10.6"
    (I installed snowleopard without the optional 10.4 support)
    -Deployment > Mac OSX target : 10.4 changed to "Mac OSX 10.6"

  • Dreamweaver CS5.5 and xcode 4.3 doesn't works?

    Hi,
    I've a new and clean apple system osx 10.7.3 with Dreamweaver CS5.5, 11.5., Build 5344, and Xcode 4.3. Xcode 4.3 doesn't works.
    Dreamweaver doesn't recognise the path anymore under Sites - Mobile Applications - Application Framework Settings.
    Any idea?
    Steve

    I noticed following: Xcode is provided in mac file manager in "Volumes". Is this normal?
    And I noticed, if I go to Xcode>Preferences>Download I find updates like iOS 4.3 Simulator.
    If I click on install button i get the message:
    "The install path </Volumes/Xcode/Xcode.app/Contents/Developer> resides on a read-only volume. If you launched Xcode from a read-only disk image, consider copying Xcode to your Applications folder and unmounting the disk image."
    Why Xcode in "Volumes" and read-only???
    Steve

  • WebLogic 11g EAR EJB Classpath and class loaders

    All,
    I have been having issues migrating Spring based EJB applications from OC4J to WebLogic 11g (10.3.1). I have been in communication with Oracle who has suggested a work around however I am keen to see if anyone else can suggest a solution.
    The application is dependant on stateless session EJB beans that communicate with a Spring managed service tier to perform the business logic and database access. PitchFork is used to inject the Spring managers into the EJB’s using the spring-ejb-jar.xml configuration file. Note originally I was using the SpringBeanAutowiringInterceptor however I could not get this to work. See WebLogic 11g and Spring beens injected into EJB for details.
    When the application is deployed packaging all the dependant jars within the APP-INF\lib folder I get a verity of errors from the following InvalidClassException, NoSuchMethodError, AbstractMethodError and IllegalArgumentException. I am using Spring 2.5.3 to match the supported WebLogic version. Note within the EAR application.xml the library-directory is set to APP-INF/lib. The issue appears to be Spring, PitchFork, commons-logging and aspectj libraries are being loaded form WebLogic and do not have visibility on jars within the application or have been modified when bundled for WebLogic. An example of this is the PitchFork jar within WebLogic has been changed excluding the spi package resulting in java.lang.ClassNotFoundException: org.springframework.jee.spi.PitchforkUtilsImpl errors.
    Moving the jars to the domain library path does not resolve any of the issues. I have been unable to successfully deploy the application picking up the application jars using the prefer-application-packages configuration.
    Oracle has advised me to deploy the libraries into the WebLogic system classpath by modifying the startWebLogic command to load the libraries into the classpath. I am concerned that modifying the system classpath will result in an unstable WebLogic server as I will be replacing modified jar files packages with WebLogic (such as PitchFork). This will also limit the applications that can be deployed within the server as each application must use the same libraries and versions (as the application ibraries are leing ignored).
    Has anyone else hit this issue and corrected it? Can anyone think of an alternative solution?
    Regards
    Neil

    Hi,
    I am in the process of updating the tracking bug# 331569 with copies of the eclipse EAR/WAR projects and the EAR for these scenarios. Here are some details on how I got past the 2nd CCE on the org.eclipse.persistence.jpa.PersistenceProvider class (not the javax one)
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=331569
    Essentially an SE persistence unit running both JPA 2.0 api and the 2.0 XSD schema work fine. I will next retest the EE case with variations of the 3 types of injection on the SSB or Servlet.
    Update: There are 3 (possibly 4) issues here (all of these may become obsolete when the next WLS version ships)Initially I got the same 2.0 schema error and the ClassCastException on org.eclipse.persistence.jpa.PersistenceProvider
    It turns out that my import of the 2 eclipse projects from my bug # 296271 for WebLogic 10.3.2.0 lost their facets(specifically the dynamic web facet) because I associated them with a different WebLogic 10.3.3.0. - this caused the CCE I was experiencing like Sri.
    Anyways, after creating an EAR/Web project combination from scratch in eclipse associated with the 10.3.3.0 instance - I predeployed/deployed/ran fine - even with the 2.0 schema - in SE bootstrap mode (no EE yet).
    Reproduction Procedure:
    redoing project from scratch as I noticed that the war was not at the root of the ear - it was a jar in the app-inf/lib dir - my imported eclipse project was not referenced correctly as a web module facet- create empty EAR and WAR project with references
    - download and open my EAR and WAR project code from bug # 296271
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=296271
    - do essentially all the steps in the page below (I paraphrase for re-verification)
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
    - copy applicationService, entity and FrontController servlet code into new projects
    - create persistence.xml and MANIFEST.MF manifest in src\META-INF
    - update manifest
    Class-Path: APP-INF/lib/eclipselink.jar
    APP-INF/lib/javax.persistence_2.0.0.v200911041116.jar
    - copy both javax.persistence 2.0 and eclipselink 2.x jars to APP-INF/lib
    - change ordering of WebLogic library modules classpath reference (javax.persistence 1.0) to ear reference (2.0 version)
    - update web.xml with servlet tags
    - update weblogic.xml with new context root
    - make the persistence unit name the same in persistence.xml and ApplicationManagedService
    - update weblogic-application.xml with prefer-application-packages overrides
    <wls:prefer-application-packages>
    <wls:package-name>javax.persistence.*</wls:package-name>
    <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    </wls:prefer-application-packages>
    - enable server redirect logging
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    - start WebLogic 10.3.3.0
    - deploy (run on) server from eclipse or export ear to auto deploy directory
    1) JPA 2.0 XSD usage on 10.3.3.0
    - I reproduced this issue with a bad EAR
    - was able to use the 2.0 schema within the WAR-only application managed EAR
    persistence.xml<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <!-- persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"-->
    <persistence-unit name="example2" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>localJTA</jta-data-source>
    <class>org.eclipse.persistence.example.business.Cell</class>
    <shared-cache-mode>NONE</shared-cache-mode>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.logging.level" value="FINEST"/>
    <property name="eclipselink.target-database" value="Derby"/>
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    <!-- property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
    <property name="javax.persistence.jdbc.url" value="jdbc:derby://127.0.0.1:1527/dataparallel;create=true"/>
    <property name="javax.persistence.jdbc.user" value="APP"/>
    <property name="javax.persistence.jdbc.password" value="APP"/-->
    <!-- turn off DDL generation after the model is stable -->
    <!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
    <property name="eclipselink.ddl-generation.output-mode" value="both"/-->
    </properties>
    </persistence-unit>
    </persistence>
    2) CCE on JPA provider implementation class
    Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit example2: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider
    - I reproduced and fixed this one (was Eclipse project facet issue) - EAR was wrong
    - was able to run JPA 2.0 code fine on an SE PU (predeploy/deploy together)
    - EE injection should not work but I will post an example EAR anyway
    log[EL Example]: enterprise: JPA 2.0 Metamodel: MetamodelImpl@56287508 [ 3 Types: , 1 ManagedTypes: , 1 EntityTypes: , 0 MappedSuperclassTypes: , 0 EmbeddableTypes: ]
    3) CCE on JPA spec interface class
    - I could not reproduce this one
    Re: WebLogic 11g EAR EJB Classpath and class loaders
    Error processing persistence unit PT of module pt: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit PT: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider
    4) CCE on fallback Kodo JPA provider (if an invalid say 2.1 JPA XSD schema is referenced)
    java.lang.ClassCastException: kodo.persistence.PersistenceProviderImpl
    at javax.persistence.Persistence.findAllProviders(Persistence.java:186)
    java.lang.NoSuchMethodError: javax/persistence/EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
    - reproduced by using the 1.0 javax.persistence jar (but named as the 2.0 one in APP-INF/lib)
    - fixed by using either the 1.0 or 2.0 JPA XSD schema and using the correct 2.0 spec jar
    thank you
    /michael

  • Currently running OSX 10.6.8 and Safari 5.1.10. What are the steps to update my IMAC?

    I'm currently running OSX 10.6.8 and Safari 5.1.10. What are the steps to get my IMAC totally up-to-date?

    Back up your data, check your applications for compatibility, and download Yosemite from the Mac App Store.
    (116042)

  • Problems with Mac OSX 10.5.2 and installing my pro tools le 7.1.1

    Problems with Mac OSX 10.5.2 and installing my pro tools le 7.1.1.
    My garage band & reason software don´t open anymore giving me a error messasge regarding the midi drivers in the operating system.
    Please help!!!
    Thanks,
    Paolo

    Somewhere at either Macworld or here I learned that DVDSP 2, DVDSP 3 and now DVDSP 4 "internally" are major re-writes.
    Support for HD among a few other items along with QT 7 which comes with Tiger means sincerely that one set of applications/OS is not going to be stable.
    Personally I think of all the issues possible its DVDSP vs QT.
    Unless you move to DVDSP v4 the alternative is to wipe the disk and go back to Jaguar (10.2) or perhaps Panther but avoid upgrading QT beyond 6. I advocate wiping the disk because I'n not sure an archive and install to down shift to an earlier version of the OS is possible. If it is I'd still worry about mis-matched files in all sorts of locations.

  • I am trying to use the new iwork beta tools on iCloud.  I currently have 10.8.4 OSX on my iMac and 6.0.5 version of Safari, but when I try to open documents on my iphone in the cloud it tells me my browser isn't supported

    I am trying to use the new iwork beta tools on iCloud.  I currently have 10.8.4 OSX on my iMac and 6.0.5 version of Safari, but when I try to open documents on my iphone in the cloud it tells me my browser isn't supported

    Note that iWork for iCloud is only designed for PCs and Macs > http://support.apple.com/kb/HT5779
    To access to your iWork documents on the iPhone, install Keynote, Numbers or Pages from the App Store

  • I have an iMac 5.1 with Mac OSX 10.6.8 and 2 GB memory and an L2 cache of 4 GB.   lately I have been receiving error messages of " start up disk almost full; please delete files." is the start up disk the same thing as the hard drive?

    I have an iMac 5.1 with Mac OSX 10.6.8 and 2 GB memory and an L2 cache of 4 GB.   lately I have been receiving error messages of " start up disk almost full; please delete files." is the start up disk the same thing as the hard drive?  I opened the hard drive and from the column on the left of the menu I've selected "search for" and under that " all images" then "all documents"  I've deleted a few files from each. Are documents and images that I have deleted from here also deleted from the folders on my desktop?

    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Delete any other mail in your Junk folders. Also, look through your Sent Mail to see if there is anything that can be deleted.
    Other things you can do to gain space.
    Once you have around 15 GBs regained, do a search, download and install OmniDisk Sweeper.
    This app will help you locate files that you can move/archive and/or delete from your system.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • I have recently upgraded to OSX 10.8.2 and now find that I cannot operate my scanner, an hp psc 1310 series printer/scanner. I get a message saying that Power PC is no longer supported. I am still able to print on the same device. What should I do?

    I have recently upgraded to OSX 10.8.2 and now find that I cannot operate my scanner, an hp psc 1310 series printer/scanner. I get a message saying that Power PC is no longer supported. I am still able to print on the same device. What should I do?

    Hi,
    PSC 1315 no longer supported for scanning since Mac OS X v10.5 or while using any newer OS, there is no scan software provided by either HP or Apple (Image Capture)
    You may find this information stated below for Leopard, the same apply for any newer OS version:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01234231&cc=us&dlc=en&lc=en &os=219&product=374568&sw_lang=
    Image capture will not recognize your device as well, only print is supported as you may find listed for teh PSC 1310 Series below:
    http://support.apple.com/kb/HT3669#HP
    Although there is no official scanning support for your device you may still try the 3rd party VueScan software which list your scanner as supported and compatible with Mountain Lion:
    http://www.hamrick.com/vuescan/hp_psc_1310.html
    Shlomi

  • Upgraded to OSX 10.8.2 and now I can't run any downloaded dmg files.

    Upgraded to OSX 10.8.2 and now I can't run any downloaded dmg files. Says "the Following disk images couldn't be opened". and then say's there "isn't enough disk space" I'm pretty sure it has something to do with apps that are not approved by the app store. How can I turn it off?

    Select your hard drive in the Finder and choose File -> Get Info. What is the available space?

  • Update OSX 10.4.7 and Quicktime 7.1.2 Quicktime will not work anymore

    After updating to osx 10.4.7 and Quicktime 7.1.2, Quicktime crashes everytimee it is opened. Safari crashes when any page containing a quicktime movie is open and system preferences crashes when trying to access the quicktime preferences.
    The only time Quicktime has worked is when I booted in Safeboot. I previously had quicktime pro and the crash logs seem to indicate a crash when trying to license quicktime. I have trashed all preferences related to quicktime, run disk utility and applejack. removed all 3rd party extensions and statup items, and tried to delete the registration number for quicktime but it kept resetting itself to automatic. No avail.
    Other programs I have installed on this computer are Final Cut Pro 5.0.4, and Kona2, and ajaIO.
    Any suggestions on getting quicktime to run again.
    you can see my latest crash report at
    http://forums.macosxhints.com/showthread.php?t=58865&page=2

    hi chica chic--
    what kind of install did you do? did you archive, or erase and install? was the screen problem there the second time before you did the update?? i would run the apple hardware test to see what it says. you can do this by putting in your install dvd for tiger and starting up holding the d key. take the full test instead of quick test. i would also try resetting the pmu on your macbook pro. this article http://docs.info.apple.com/article.html?artnum=303319 describes the procedure and gives some info about it. best of luck. [ 8 ) ]

  • I've just upgraded to latest version of Firefox 4 and my Mac is only OSX.10.4.11 and it won't open. How do I downgrade and get old Firefox back. Don't want to lose all my bookmarks. Why was I able to install in the first place. Very frustrated!!

    've just upgraded to latest version of Firefox 4 and my Mac is only OSX.10.4.11 and now it won't open. How do I downgrade and get old Firefox back. Don't want to lose all my bookmarks. Why was I able to install in the first place. Very frustrated!!

    You can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    You can trash Firefox 4.0 then re-install Firefox 3.6, it will use your existing bookmarks, passwords etc
    Mozilla are working to prevent Mac users with non-compatible systems from getting the notification about Firefox 4, and also not displaying the "Download Firefox 4" button on http://www.mozilla.com

  • I am trying to open iPhoto 9.3.2 on my iMac with OSX 10.7.4 and even after downloading the iPhoto updater it still will not open.  Any suggestions.

    I am trying to open iPhoto 9.3.2 on my iMac with OSX 10.7.4 and even after downloading the iPhoto upgrader it still will not open.  Any suggestions.

    Resetting Printing System helps OS X recognize new printers.
    http://support.apple.com/kb/HT1341
    When you add the printer, make sure you use IP > Jetdirect and the correct printer IP address.

  • Is it possible to downland itunes 10.6.3  I  have an old Macbook pro with OSX 10.5.8 and lost my itunes and cannot seem to download a version compatible with the computer

    is it possible to downland itunes 10.6.3  I  have an old Macbook pro with OSX 10.5.8 and lost my itunes and cannot seem to download a version compatible with the computer?

    Click here.
    (69952)

  • I recently upgraded to osx 10.5.6 and found the version of itunes which allowed me to use my iphone 4, well now i've got the iphone 5 c, how can i find a version of itunes that will work on osx 10.5.6 and allow me to syn my iphone 5?

    is there a version of itunes that works with osx 10.5.6 and also allows my to sync my iphone 5?

    You say you have 10.5.6 (Leopard) but your signature says you have 10.6.6 (Snow Leopard) - which is it?
    If it's Snow Leopard all you have to do is apply the combo updater:
    http://support.apple.com/kb/DL1399
    If it's Leopard it depends on what sort of processor you have. It it's PPC you cannot proceed. If it's Intel you may be able to upgrade to Snow Leopard (which is available in the Online Apple Store) provided you have enough RAM: check the requirements against your Mac.

Maybe you are looking for

  • Help needed to validate a text field

    I'm using Acrobat X1 Pro and Live Cycle Designer ES4 I have a numeric text field to capture a blank or 14 digit number. The display pattern is: null{}|num{zzzzzzzzzzzzzz} The edit pattern is: null{}|num{zzzzzzzzzzzzzz} The validation pattern is: The

  • Multiple TextField Validation

    I want to do this: I have 3 textfields, when I click the submit button I want the validation to check whether there's data in any of the textfields (at least in one) if so, then all three textfields are Valid, if non of the textfield have data then a

  • ZMP Creative Leather Case - Is it possible to remove the back cli

    Hi, I want to buy one of these cases. I need to know if I can remove the belt clip or not. Also do you know if the Belkin case is better or not? Luis

  • Existing BT customer and am now unable to see my b...

    Does anyone know when BT intend to fix the problem where customers (i have been a BT customer for nearly 3 years) are unable to view their bills on line due to some random technical issue ? Anyone else having the same problem ?? I need to get hold of

  • Acrobat 5 shows 'damaged' but Reader opens the file

    Hi! I have searched the forums for this, but not been able find someone describing the same problem. I am using Acrobat 5.0.5. I frequently get the message 'There was an error opening this document. The file is damaged and could not be repaired' when