Cannot load library due to dot in path

I'm trying to run the Data Loader program from Salesforce.com. I have to load a jar file, and am using the following command.
java -jar "C:\Program Files\salesforce.com\Apex Data Loader 14.0\Data Loader.jar"When I do this, I get the following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3063 in
java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
        at org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:66)
        at com.salesforce.lexiloader.process.LexiLoaderRunner.main(LexiLoaderRun
ner.java:53)So, I figured out that I need to tell Java where to find the library swt-win32-3063. I use the following command.
java -Djava.library.path="C:\Program Files\salesforce.com\Apex Data Loader 14.0\" -jar "C:\Program Files\salesforce.com\Apex Data Loader 14.0\DataLoader.jar"And this time I get this error.
Exception in thread "main" java.lang.NoClassDefFoundError: Files\salesforce/com\
Apex
Caused by: java.lang.ClassNotFoundException: Files\salesforce.com\Apex
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: Files\salesforce.com\Apex.  Program will exit.It looks like java sees the dot in the path, and thinks that is the name of a class. since there is obviously no file called "Files\salesforce.com\apex", it generates an error.
How do I get around this?
Edited by: haydenmuhl on Jan 27, 2009 10:34 AM
Edited by: haydenmuhl on Jan 27, 2009 10:35 AM

I've been fiddling around, and I've found out it's not the dot, it's the spaces. How can I escape the spaces in the library path?

Similar Messages

  • JMFSecurity Error: Cannot Load Library jmam

    hi,
    I get below exception when I try to run XletviewJMFExample.java program provided by sun.
    JMFSecurity Error: Cannot Load Library jmam
    I tried to set jmam.dll in the classpath,but I get following error when I compile program from command prompt
    error reading C:\javatv_fcs\lib\jmam.dll; error in opening zip file
    Please help me resolve this problem
    Thanks
    Rajesh

    Hello,
    i am running TestTVXlet on the Fedora Core 3.
    I do set the path variable, but it still shows the "JMFSecurity Error: Cannot Load Library jmam" message.
    Is the problem that jmam.dll is not suitable for linux?
    Any advise will be appreciated. : )
    Best Regards,
    Tony

  • Cannot load library unit problem

    Dear All,
    I am using Oracle Report builder 6 and Oracle DB is 8i.
    OS is SUN Server.
    I have the following question:
    After I modify the function in the formula column, I try to compile it. Then I got the error like:
    Error 907 at line 0, column 0
    cannot load library unit <Scheme Name>.<Table Name> (referenced by
    CF_CAL_5FORMULA)
    How to solve it? Thanks......

    Hi,
    had the same problem. Flushing the shared helped.
    alter system flush shared_pool;
    Regards
    Helmut

  • PLS-00907: cannot load library unit

    I have a problem with a stored procedure that runs via cron to insert records into a large partitioned table. This was running fine until a week back it stopped working.
    The error it mentioned during execution is
    PLS-00907: cannot load library unit
    MET.CLINICAL_DATA (referenced by MET.INSERT_CLINICAL_DATA)
    MET is the owner of the CLINICAL_DATA table and the INSERT_CLINICAL_DATA procedure. This procedure is run by a user called MET_USER who has an execute privilege on MET's INSERT_CLINICAL_DATA and its tables.
    So what might have caused this error. I did spend atleast 2 hours looking in the metalink and as those articles mentioned, I am neither using a database link here nor I am calling a remote procedure.
    Any thoughts?
    Thanks

    355099,
    No, not to my knowledge. But I do have another stored procedure that also runs everyday that has got DDL statements on the CLINICAL_DATA table. Some of the DDLs in that are ----
    execute immediate 'alter table clinical_data drop partition part' || part_rec_l.id || ' update global indexes';
    execute immediate 'alter table clinical_data split partition ' || 'last_values at ( ''' || (temp_day_l * ms_per_day_l)|| ''') into (partition part' || new_id_l
    || ', partition last_values) update global indexes';
    execute immediate 'alter table clinical_data modify partition '|| 'part' || new_id_l || ' rebuild unusable local indexes';
    execute immediate 'alter table clinical_data modify partition ' || 'last_values rebuild unusable local indexes';
    Thank you

  • Error: cannot load library unit CTXSYS.CTX_CONTAINS

    Anyone know what might be causing this error when doing a query that uses CONTAINS?
    It was working fine, then suddenly stopped working
    [Oracle][ODBC][Ora]ORA-29900: operator binding does not exist ORA-06540: PL/SQL: compilation error ORA-06553: PLS-907: cannot load library unit CTXSYS.CTX_CONTAINS (referenced by CTXSYS.CONTAINS)

    Could you please explain what you mean by recompile packages?
    Sorry - new to Oracle - I'm playing with an Eval and running on NT.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hernan Mejia ([email protected]):
    may be your packages corrupts, I haved a similar problem try to recompile and look for the status of your packages<HR></BLOCKQUOTE>
    null

  • Tiger OCR Cannot Load Library

    Windows XP SP3. Adobe Acrobat 9 Pro Extended.
    When I start Acrobat I get this dialog. I click OK and Adobe starts:
    Tiger OCR
    Cannot load library
    Home Dir :'C:Windows\system32', Data Dir 'C:\Windows\Tiger32'

    I do not have that item in my registry or a folder like that in my system. Do you have a scanner? Perhaps this is something set or improperly set the from the scanner's software. Acrobat is reading this and reporting an error since it doesn't exist.

  • FRY-00001 Cannot Load Library iamodapp.so: iamodapp.so: cannot open shared

    I am installing SAP running on top of an Oracle 10g database in a Red Hat Linux 4 . My database is up and solid. However, during the post Oracle DB installation scripts, I am bombing out with the following error:
    FRY-00001 Cannot Load Library iamodapp.so: iamodapp.so: cannot open shared object file: No such file or directory
    Anyone else have this problem and found a solution?
    Thanks & regards
    Arun Singh

    Hi Arun,
    1. Copy the installation media dvd to a directory on a files system
    2. change directories into the sub-directory which contains the executable (sapinst)
    3. run the command sapinst -extract
    4. It will unpack the missing libraries into the same directory where you executed the command..
    5. I copied these libraries to /oracle/<SID>/102_32/lib
    6. Stop and restart the installation
    Hope this helps.

  • I keep getting an error message when I attempt to print: "Cannot load library LXBCPRP.DLL", but only from within Firefox.

    Within Firefox and websites visited within Firefox, whenever I try to print using my Lexmark Z605 printer, the error message "Cannot load library LXBCPRP.DLL, using default '' appears. The printer works fine from other programs and indeed worked fine from within versions of Firefox before 4.0.1, and I have even updated drivers from Lexmark, but the problem persists.

    Thanks for your time, but I maintain my position. There has been no problem with my printer from purchase (5+ years ago) until Firefox 4, in particular no problem with Firefox 3.x. I have no problem with ANY other applications I use now and have run through them all to check.
    Firefox 4.0.1 remains the prime suspect, but I am willing to try any fix that the wonderful members of Firefox community may care to suggest.

  • Cannot load library iamodrfc.o

    Doing a homogeneous system copy to create a test system
    from the Prod instance on this installation. During the sapinst phase 'Starting
    RFC Jobs (post processing)' an error occurred with the following message
    in the sapinst.log:
    ERROR 2005-04-05 13:27:09
    FRY-00001  Cannot load library iamodrfc.o: No such file or directory.
    ERROR 2005-04-05 13:27:09
    FJS-00012  Error when executing script.
    Can any one help me?

    Hi,
    You can try start the system if it's not online already, logon with
    user DDIC (client 000) and execute the two reports (RSWBOINS and
    RADDBDIF) wit transaction SE38 manually. If you have to change the
    the password for user DDIC, please change it back to default afterwards
    with TA SU01 (Default password '19920706').
    If the manual execution of the reports is successfull, please restart
    SAPinst (do not use retry) with the option SAPINST_SKIP_ERRORSTEP.
    ./sapinst SAPINST_SKIP_ERRORSTEP=true, this should solve the problem.
    Thanks,
    George

  • PLS-00907: cannot load library unit PREORDER.GLOBALS@PREORDER

    Hi all, I am getting below error while compiling the package in oracle 11g.
    SQL> select version from v$instance;
    VERSION
    11.2.0.3.0
    SQL> !uname -a
    SunOS ghb1s311 5.10 Generic_142900-13 sun4u sparc SUNW,Sun-Fire-V890
    SQL> SELECT owner,
           object_type,
           object_name,
           status
    FROM   dba_objects
    WHERE  status = 'INVALID'
    ORDER BY owner, object_type, object_name;
      2    3    4    5    6    7
    OWNER                OBJECT_TYPE   OBJECT_NAME                    STATUS
    KOMPIMP              PACKAGE BODY  IMPORT_NI_STAMMDATEN           INVALID
    SQL> alter package KOMPIMP.IMPORT_NI_STAMMDATEN compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY KOMPIMP.IMPORT_NI_STAMMDATEN:
    LINE/COL ERROR
    0/0      PLS-00907: cannot load library unit PREORDER.GLOBALS@PREORDER
             (referenced by PREORDER.MANAGE_DATEN@PREORDER)
    1201/5   PL/SQL: Statement ignored
    SQL> select object_name,object_type,owner,status  from dba_objects where object_name like 'GLOBALS';
    OBJECT_NAME                         OBJECT_TYPE                         OWNER                          STATUS
    GLOBALS                             PACKAGE                             KOMPIMP                        VALID
    SQL> select object_name,object_type,owner,status  from dba_objects where object_name like 'PREORDER';
    OBJECT_NAME                         OBJECT_TYPE                         OWNER                          STATUS
    PREORDER                            DATABASE LINK                       KOMPIMP                        VALID
    These package(GLOBALS') is  valid then also this is not compiling.
    Please suggest to solve this problem.
    Thanks in Advance

    Hi
    Without commenting on the specific HR packages, it sounds like you are causing invalidations when you recompile.
    The first thing to do is to try to minimize the scope of each recompilation. So if the body of a package A is invalid, don't recompile the specification (which will invalidate any other package B that references a function, procedure, type or package variable in A). Just recompile the body (which afaik NEVER invalidates anything else).
    alter package A compile body;If you have invalid package specs (which you do now) try to recompile them in dependency order. So if package (spec) A depends on (eg references a package (header) variable or type definition in) package B, then be dure to compile B before A.
    In general, you should recompile invalid specifications first, then invalid package bodies.
    The tricky objects are Views - a view can depend on a package spec (if the view SQL includes a reference to a package function) and a package spec or body can of course depend on a view. Good developers try to avoid circular dependencies! So our compilation order becomes:
    * Views (unless dependent on packages)
    * Package specs
    * Views that depend on packages
    * Package bodies
    (Stand-alone stored procedures and functions are a pain in the neck, as they can depend on each other and on views, packages etc).
    You can try using utlrp.sql (in rdvms/admin) which calls utl_recomp.recomp_parallel - but I don't know how good this is at sorting out dependencies.
    HTH
    Regards Nigel

  • I also am having problems creating cd cover. When I try to print onlt text comes out picture art is 1 big black square. cannot load library error shows up 126. Do anyone have a solution for this problem?

    Having problem creating cd cover.When I try to print one out only text print no picture. Error message appears "cannot load library"LXBBPRP,DLL Default error126. Anyone have a solution to this problem?

    One other note I do have parallels installed but not running on both machines.
    Make sure on both machines that even if Parallels is not running that the two VPNs it creates in System Preferences > Network are set to Off.
    Also make sure that in System Preferences > Sharing that Internet Sharing is nnot ON.
    Later you will have to adjust the Parallels setting to NOT Share the Mac IP.
    10:18 PM Sunday; June 1, 2008

  • Cannot load backup (due to changed Apple ID/updated email address)

    I have followed the answer provided to Ross202 by Gail from Maine. Unfortunately I fear my problem may be larger.
    Objective
    Move iCloud-backed up data to new iPhone (old phone "drowned" over holidays)
    Context
    My original Apple ID was EmailOld. This email address (EmailOld) has been terminated. Unfortunately my iCloud / backup is linked to Apple ID EmailOld (so verifying this is not possible). My new AppleID is EmailNew, and this has been verified. I have tried changing my Apple profile to EmailOld, as suggested by Gail (without the verification email).
    Despite following Gail's steps, Apple could not backup my old account. Error message:
    "Cannot load backups. There was a problem loading your iCloud Backups. Try again, set up as a new iPhone, or restore from an iTunes backup.
    Options
    - Try again (*)
    - Set up as a new iPhone (**)
    - Restore from iTunes (***)"
    Troubleshooting steps
    (*) Try again repeats same issue.
    Apple ID EmailOld: "iCloud Sign in" --> Agree --> "It may take a few minutes to set up your Apple ID" --> Choose backup screen --> takes an age --> above message repeated
    AppleID EmailNew: (Update AppleID to EmailNew in My Apple ID) "iCloud Sign in" --> Agree --> "It may take a few minutes to set up your Apple ID" --> "Choose backup" screen, with options --> selection of backups --> but then I either 1) have to enter correct password corresponding with EmailOld (and EmailOld and current password don't match), or 2) get error message above
    (**) Set up as a new iPhone (using:
    (a) old Apple ID says --> "Could Not Sign In | There was a problem connecting to the server". I have reviewed and checked wifi connection, all in order here. I have tried using new account, same error message,
    (b) new Apple ID works. And this is hopeful - the device can detect I have about 10GB data stored on iCloud. However, I cannot agitate this sync from iCloud to my new device
    (***) I have logged in to iTunes with Apple ID EmailOld (it works - it even says 17 updates on my apps, however I can't agitate updates). I cannot get a sync going.
    My phone requests me to "Connect to iTunes", but I cannot do anything more than this. (I have unplugged and plugged my USB cable many times)
    I have also logged in to iTunes with Apple ID EmailNew (it works too). But, again, I cannot connect to iTunes
    Possible solutions
    Recognition of 10GB iCloud-backed up data on new device (despite the fact that old Apple ID doesn't match new Apple ID)
    Any help will be greatly appreciated! 5 hours and counting :/
    Thanking the community in advance

    Call Apple Care for your country and request help reactivating the Apple ID and resetting the password.

  • Apple removed DTD ... cannot load library XML

    Okay, I have written a Windows script that can rebuild my iTunes library and part of it loads the iTunes library XML in an XML parser. The problem is it stopped working now because (for some reason) Apple has decided to remove the DTD from their web site (it is now 404) ... http://www.apple.com/DTDs/PropertyList-1.0.dtd ... can someone at Apple please return this to it's rightful place on your web server?
    That would be nice.

    Sorry, but we're all pretty much just your fellow users here. I don't know if it would do any good to send feedback to Apple, but you can do so here. It's not a support mechanism, so don't expect a reply. You can also try the website feedback page.

  • We cannot load firefox due to settings changed by speedy pc company

    our computer had slowed a lot, and I found a company that promised to fix it. however, in cleaning up our computer they removed some setting that apparently is needed for firefox. we contacted them to get this reset, and they could not do it, for some reason. we use firefox for business purposes (my wife is weight watcher leader), and need it!
    Weight watchers told us we need the system configuration to install F 5 firepass. When my wife tried to get her website, it came up saying F 5 plugin error # 1720. Another error # that came up was 1722. Can you help?
    So, at this point, we have no firefox. When we try to download it, it just stops loading (at 37%).
    thank you,
    Jeff Morris

    Using these companies such as Speedy PC (which is very shady and scammy) can cause lots of issues on your PC.
    I would suggest, if possibly, do a System Restore to before Speedy PC messed your computer up (also uninstall anything they put on your machine).
    Go to [http://www.getfirefox.com www.getfirefox.com] to download the newest Firefox.
    First, try to reset Firefox. [[Reset Firefox – easily fix most problems]]. This simple step will eliminate many Firefox problems with only one click.
    A few other basic trouble shooting things you can try is this:
    Run all Windows Updates, install all needed service packs, etc.
    Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. You can uninstall this program after you clean off any infections.

  • Cannot Load Leopard due to Historic Unresolved Problem with Tiger.....

    When I installed Tiger some years ago, my computer (iMac) refused to shut down normally. I tried many times to get an answer from Apple without results. Since then I have had to shut down by holding the start button. OK. Inconvenient but it worked. Until I tried to install Leopard. Since Leopard requires a Restart and I cannot Restart from the menu I cannot install it. I left messages on Apple's Support e-mail which promises to get back in 48 hours. This was a week ago and I still have not heard from Apple Support. Any thoughts about resolving this issue?
    Here is the error message that the system sends to Apple:
    Unresolved kernel trap(cpu 0): 0x400 - Inst access DAR=0x0000000001266000 PC=0x0000000000000134
    Latest crash info for cpu 0:
    Exception state (sv=0x20BC7000)
    PC=0x00000134; MSR=0x40009030; DAR=0x01266000; DSISR=0x40000000; LR=0x0089D120; R1=0x0CEC3D00; XCP=0x00000010 (0x400 - Inst access)
    Backtrace:
    0x002BCD54 0x0089B918 0x002BF39C 0x002BE760 0x000A9514
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOFireWireSerialBusProtocolTransport(1.4.4)@0x89a000
    dependency: com.apple.iokit.IOFireWireSBP2(1.7.5)@0x884000
    dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(1.4.9)@0x57d000
    dependency: com.apple.iokit.IOFireWireFamily(2.2.5)@0x526000
    Proceeding back via exception chain:
    Exception state (sv=0x20BC7000)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x20BDA780)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC
    panic(cpu 0 caller 0xFFFF0004): 0x400 - Inst access
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x000952D8 0x000957F0 0x00026898 0x000A8004 0x000AB980
    Proceeding back via exception chain:
    Exception state (sv=0x20BC7000)
    PC=0x00000134; MSR=0x40009030; DAR=0x01266000; DSISR=0x40000000; LR=0x0089D120; R1=0x0CEC3D00; XCP=0x00000010 (0x400 - Inst access)
    Backtrace:
    0x002BCD54 0x0089B918 0x002BF39C 0x002BE760 0x000A9514
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOFireWireSerialBusProtocolTransport(1.4.4)@0x89a000
    dependency: com.apple.iokit.IOFireWireSBP2(1.7.5)@0x884000
    dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(1.4.9)@0x57d000
    dependency: com.apple.iokit.IOFireWireFamily(2.2.5)@0x526000
    Exception state (sv=0x20BDA780)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPCModel: PowerMac4,5, BootROM 4.4.5f3, 1 processors, PowerPC G4 (2.1), 800 MHz, 512 MB
    Graphics: NVIDIA GeForce4 MX, GeForce4 MX, AGP, 32 MB
    Memory Module: DIMM0/J22, 256 MB, SDRAM, PC133U-333
    Memory Module: DIMM1/J20, 256 MB, SDRAM, PC133U-333
    Modem: Dash2, UCJ, V.92, 1.0F, APPLE VERSION 2.6.6
    Network Service: Built-in Ethernet, Ethernet, en0
    Parallel ATA Device: Maxtor 4D080H4, 74.53 GB
    Parallel ATA Device: PIONEER DVD-RW DVR-104, 7.5 GB
    USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
    USB Device: USB Receiver, Logitech, Up to 1.5 Mb/sec, 100 mA
    USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA
    USB Device: Hub, Up to 12 Mb/sec, 500 mA
    USB Device: DYMO LabelWriter 330 Turbo, DYMO, Up to 12 Mb/sec, 500 mA
    FireWire Device: iPod, Apple Computer, Inc., Up to 400 Mb/sec
    FireWire Device: 911D, Oxford, Up to 400 Mb/sec

    DonCres wrote:
    I solved the problem by reinstalling Tiger. Followed by purchasing a new iMac 20-inch, with Leopard. Am selling the older iMac.
    Excellent move. The general rule is to never install any software at all on a computer that is not working properly. At best it will still be broken, at worst it will die completely
    I am assuming your old Tiger was an upgrade from an earlier system and not an install on a blank HD. Usually that kind of problem requires an erase (full, not quick) and install and then a careful migration from the backup, one program at a time, in case the problem is related to an old piece of SW.

Maybe you are looking for