JRE Installation in directory having space in its name.

Hi
I have installed JRE in a directory say /proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/
when i cun java from /proj/pmcfg/akostha/test dir/jre1.3/bin directory..it says
grep: can't open /proj/pmcfg/akostha/USM
grep: can't open 0.5.15.2/jre1.3/bin/./../lib/jvm.cfg
and when i run
"/proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/bin/java" from other directory
it says
Error: can't find libjava.so.
what is the reason..If it is not recommended to install JRE in a directory having space in its name.
or else what is the work around.I'm using SunOS5.6. Saprc
Ajay

I'm not sure about Solaris, and my proposal might also only work for some shells, but with bash under linux, you have to escape spaces that appear in file/diretory names, so instead of saying "my directory", you have to say "my\ directory" (without quotes).
Or try maybe "my directory" (with quotes) - that would be teh M$ way to do it.

Similar Messages

  • Export of schema with space it its name

    we have a schema named "Gestion Loaners" (note the space in schema name) in oracle 9iR2 database. i want to take schema level export but as there is space in schema name i am not able to do it using either escape char or using parameter file..
    can anyone guide me pls
    thx

    It works if the Username is ALL CAPITALS. Couldn't get it work if the Username was Mixed Case
    SQL> create user "PAVAN KUMAR" identified by pavan;
    User created.
    SQL> grant create session, create table to "PAVAN KUMAR";
    Grant succeeded.
    SQL> create table "PAVAN KUMAR".his_table (col_1 varchar2(5));
    create table "PAVAN KUMAR".his_table (col_1 varchar2(5))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'
    SQL> alter user "PAVAN KUMAR" quota unlimited on USERS;
    User altered.
    SQL> create table "PAVAN KUMAR".his_table (col_1 varchar2(5));
    Table created.
    SQL>
    ora10204>exp hemant/hemant owner=\"PAVAN KUMAR\"
    Export: Release 10.2.0.4.0 - Production on Wed Nov 5 22:33:47 2008
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user PAVAN KUMAR
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user PAVAN KUMAR
    About to export PAVAN KUMAR's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export PAVAN KUMAR's tables via Conventional Path ...
    . . exporting table                      HIS_TABLE          0 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    ora10204>

  • How to open pdf file in jsp having spaces in file name ?

    hi all,
    i have to open a pdf file in a jsp but some times that pdf file has spaces in the filename
    <a href ="openPdf.jsp?fileName=xyz.pdf">some  pdf file.pdf </a>how to open the pdf file in this case

    more info: java.net.URLEncoder or use response.encodeURL(...) to ensure sessionid is added when cookies are disabled

  • Mplayer can't play files with spaces in their name

    After scratching my head and reinstalling codecs several times without luck, and old memory resurfaced of this occuring before and I managed to solve the problem.
    The thing is that if you doubleclick a file in Nautilus, and said files has spaces in its name, mplayer won't be able to play it, and gives a very cryptic error message, ie "cannot play file a%20b.avi" if the name of the file is "a b.avi".
    The trick is mentioned in this thread -- you edit /usr/share/applications/mplayer.desktop and change 'Exec=gmplayer %U' to 'Exec=gmplayer %F'.
    The bug has been around forever, and hasn't been fixed yet. Perhaps the mplayer devs don't want to fix it. In any case, I would propose that either we fix this in the mplayer Arch package, or that someone more knowledgeable than I get in touch with the devs about it.
    Just a suggestion, but I think it's kind of important. It's really confusing to new users.

    In my opinion, it it's not arch's job to fix bugs from upstream, no matter if it's mplayer or gnome's fault. Of course there are exceptions, eg if a bug in a critical package hardlocks the whole system, or adds a huge security risk.
    I would like to belive that the general arch user is smart enough to find one of the 30 threads about this bug (or the entry on the bugtracker) and fix it themselves. Personaly I would put this in the same category as packages that don't have a .desktop file at all from upstream.
    Oh, and as a small sidenote: http://phraktured.net/patching-patching-patching.html

  • Jar and classpath with space in folder name?

    Hi, all.
    Just for fun: what if I have a jar file that is dependant on the other jar file which is placed in folder with space in its name? How would I link it in manifest file?
    Thanks.

    Havae you tried quoting the Class-Path value?

  • Can you build a new version of an exe without having to rebuild its installer afterwards?

    I'm currently testing a LabVIEW-built exe on a PC without LabVIEW installed. Each time I go back to the development PC to fix a bug / change something, and then rebuild the executable, it seems I also have to rebuild its installer which takes a significant amount of time.
    Is there a way to rebuild an executable without having to rebuild its installer? Or a way to tell the installer it doesn't need to be completely rebuilt, but rather just needs to look at the new executable?
    After writing this out, I've realised there probably isn't a way to do it, but it's worth a shot.
    Christian.
    Solved!
    Go to Solution.

    Taki1999 wrote:
    MoReese wrote:
    I understand what Taki is saying, but I don't see the need to "update" the installer after making changes to an .exe; especially if it's going to a PC that already has the RTE installed. Later, if I have to do a build, it will incorporate the current changes to the .exe.
    In my opinion, it's just easier to create installers. 
    Yes, in your circumstance it would be.  For me, I only have to worry about internal customers, so I am the only one that does the install;  therefore, I don't have to worry so much about the details of the installation.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • Using axbridge.dll without going through the JRE installation process

    I've searched the web and this forum for this specific problem, and have found related items, but nothing that quite answers the question.
    I have an application that uses the JRE's axbridge.dll to access a DLL created from a Java bean. I used the packager to create a DLL named MyBean.dll.
    When I go through the full JRE install, everything works great. That is to say, when I execute Sun's JRE installation program and go through the normal install process, I can access the bean through MyBean.dll without any problems.
    I am accessing MyBean.dll from a Visual Basic 6.0 application. Converting to VB .Net is NOT an option at this time. The VB app uses MyBean.dll for a critical part of the application.
    It is my understanding that it is not strictly necessary to go through the full JRE installation process. Simply deploying the JRE by copying its directory (and all subdirectories) to your application's directory structure should be sufficient. This would be HIGHLY desirable for my application. In fact, if I can't do this, it may be a show-stopper.
    When I install my application in this way (i.e, by simply copying the JRE instead of "installing" it) it doesn't work at all. I immediately get an error saying that the executable "has encountered a problem and needs to close. We are sorry for the inconvenience" and a dialog is displayed offering to send the problem information to Microsoft.
    The details indicate clearly that the problem occurs in the axbridge.dll, version 1.4.2.60.
    1. Any ideas on how to get the axbridge.dll to work without going through the full JRE install?
    2. Are there any alternatives to using the axbridge.dll to get my VB app to be able to use the Java? Remember, it is VB that must call the Java, NOT the other way around.
    3. Is JNI an alternative? If so, can I use JNI to get VB to use Java, or do I have to write the DLL's in C++?
    Any help you can give would be VERY MUCH appreciated.

    I'm also on a JRE installation problem with the bridge.
    Here is a regmon extract on excel using a dll that uses a java-packaged dll from the bridge:
    5229 5.69504923 EXCEL.EXE:2364 QueryValue HKCR\CLSID\{9DD49FCD-BB61-414E-88C8-E6F5B35AEDCB}\InprocServer32\(Default) SUCCESS "C:\win32app\Specific\jre1.5.0_05\bin\axbridge.dll" << The axbridge dll in a specific location
    5271 5.70646800 EXCEL.EXE:2364 QueryValue HKLM\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_05\JavaHome SUCCESS "C:\Program Files\Java\jre1.5.0_05" << an installed JRE 1.5.0
    This is confirmed with process explorer : excel is using "C:\Program Files\Java\jre1.5.0_05\lib\rt.jar" and not "C:\win32app\Specific\jre1.5.0_05\lib\rt.jar"
    In other word, the axbridge check for its installation location in the registry to know where to start.
    Even if all your components have been updated in the registry as suggested here : http://forum.java.sun.com/thread.jspa?forumID=40&threadID=559704
    JRE Bug or feature?
    Anyway the registry is evil.

  • Problems with JRE installation 1.6.0_18 in silent mode

    Hi!
    I have problems with installing the JRE from the cmd line in silent mode and in a directory with spaces in the path.
    If I remove the spaces in the INSTALLDIR, the JRE installs in the directory I have specified but not when I use spaces in the path.
    The command I run is following:
    jre-6u18-windows-i586.exe /s /v"/qn INSTALLDIR="C:\Program Files (x86)\company\product test\java\""
    all I get is the help window to the windows installer with the different options. What am I missing?
    BR,
    /Peter

    Hi
    You  should install this Patch:
    Patch 13948973: JDEV 11.1.1.6.0 FREEZES IN CUSTOMIZATION MODE DUE TO DEADLOCK
    After the installation the JDev works fine again.
    Regards, David Perez

  • ZAC JRE installation location

    Where does the ZAC put the JRE when it is deployed with the bootstrap
    installer (i.e. when Load Own JRE is selected)? Sometimes I get it on
    the
    C:\ drive but on some NT computers I am getting it on the user's
    homedrive/homepath. But...on one user that had a non-C:\
    homedrive/homepath, ZAC still put the JRE on C:\!!
    How can I know FOR CERTAIN where on the client's machine the JRE will be
    installed. I need to know because my application is being subsequently
    launched from a batch file and I need to create the batch file (created
    at
    install time) with the correct path to the JRE.
    Also, the BEA documentation
    (http://www.weblogic.com/docs/admindocs/zac.html#jre) says "the user
    ultimately decides where the JRE shall be installed." How and when does
    the
    user get to decide the JRE installation directory? I know they can
    select
    the directory for the application, but the JRE doesn't end up in the
    same
    directory as the application.
    Finally, please create a newsgroup just for ZAC. There is certainly
    plenty
    of interest and issues to warrant its own newsgroup.
    -Bob

    I've had a similar experience. I think ZAC needs to be more flexible when it
    comes to customization such as installation directories for JRE.
    !! VOTE FOR ZAC NEWSGROUP !!
    Cheers,
    Ivan
    Bob Lane <[email protected]> wrote in message
    news:[email protected]..
    Where does the ZAC put the JRE when it is deployed with the bootstrap
    installer (i.e. when Load Own JRE is selected)? Sometimes I get it on
    the
    C:\ drive but on some NT computers I am getting it on the user's
    homedrive/homepath. But...on one user that had a non-C:\
    homedrive/homepath, ZAC still put the JRE on C:\!!
    How can I know FOR CERTAIN where on the client's machine the JRE will be
    installed. I need to know because my application is being subsequently
    launched from a batch file and I need to create the batch file (created
    at
    install time) with the correct path to the JRE.
    Also, the BEA documentation
    (http://www.weblogic.com/docs/admindocs/zac.html#jre) says "the user
    ultimately decides where the JRE shall be installed." How and when does
    the
    user get to decide the JRE installation directory? I know they can
    select
    the directory for the application, but the JRE doesn't end up in the
    same
    directory as the application.
    Finally, please create a newsgroup just for ZAC. There is certainly
    plenty
    of interest and issues to warrant its own newsgroup.
    -Bob

  • Packaging JRE/plug-in with Mozilla & our app... is JRE installer required?

    We distribute a version of our application as a standalone implementation of our web application. We use an applet to act as a wrapper of our application server, proxying request/responses through JavaScript/applet instead of HTTP/servlet.
    Right now we package the installer for our standalone application so that it installs JRE 1.3.1_01 using the standard installer, then installs the application. When the user wants to run the application, he opens a HTML page in IE 5.5 or IE 6 referencing the applet. From here the application runs just like it runs in the server-based mode.
    The problem with this model is our dependency on the target system having the correct browser. I would like to package Mozilla and the JRE with the application, thus giving us more control over the installation.
    Ideally, I would like to have an installer that simply creates a directory with our application, a dedicated copy of Mozilla, and a dedicated copy the JRE. That way we could custom configure Mozilla to contain NP*.DLL in the bin/plugins directory, and have a custom policy file in the JRE. Does the JRE installer do anything 'special,' such as create registry entries that the plug-in must reference to run? Does anyone have similar experience with doing this?
    Thanks!

    I'm actually trying to do the same thing I've been wondering what the best way is to package the JRE in this case. Is there a way to install the JRE without using the installer and just copy the files where we need to put them? I am using Phoenix, a mozilla fork, that does not have the plugins folder updated with the proper java plugins when the JRE is installed, we have to manually copy the plugins that got installed into the Mozilla folder. Please let me know if you found anything.
    Thanx.

  • Why are all jar files not compressed in the JRE installer?

    I used 7zip to unpack jre-6u12-windows-i586-p.exe (Oracle JRE Installer). On unpacking, I got a core.zip, a zipper.exe and a few other files.
    Again on exploding core.zip I found a few things. core.zip contains all the jar files just like it would be after installation except for 7 jar files.
    charsets.jar
    deploy.jar
    javaws.jar
    jsse.jar
    localedata.jar
    plugin.jar
    rt.jar
    Instead of these jar files there exists the corresponding packfiles
    charsets.pack
    deploy.pack
    javaws.pack
    jsse.pack
    localedata.pack
    plugin.pack
    rt.pack
    I think these are files created by pack200.exe & unpack200.exe is run on them after installation to create the corresponding jar files.
    So now I have a few questions
    Why are only these 7 files run through pack200.exe. I assume its because they are bigger than other files. But it wouldn't take that much effort to pack all jar files & unpack them after installation.
    The .pack extension suggests that these are packed but not gzipped. Again why would Oracle not do a gzip also? for eg with rt.jar packing reduces size from 45 MB to 12 MB, while adding gzip also reduces it to 6 MB.
    Edited by: 966944 on Oct 22, 2012 8:19 AM

    Whatever the truth of all this may be, you won't find it here. This is a user to user forum, not Oracle support or a channel to the developers. All you will get here at best is valid post hoc reasoning: at worst, guesswork. And if you're trying to bring this issue to Oracle's attention, again this isn't the place to do it. Locking the thread.

  • Microsoft Office for Mac installer give following error: Aug  1 15:23:08 MyDisk Installer[537]: directory not found '/var/folders/5v/s2wpc1ms7s99d0g2dx7lzjfw0000gn/T//Install.537GZGcI6' Aug  1 15:23:08 MyDisk Installer[537]: Install failed: The Installer

    Aug  1 15:23:08 MyDisk Installer[537]: directory not found '/var/folders/5v/s2wpc1ms7s99d0g2dx7lzjfw0000gn/T//Install.537GZGcI6'
    Aug  1 15:23:08 MyDisk Installer[537]: Install failed: The Installer can’t create the folder “/var/folders/5v/s2wpc1ms7s99d0g2dx7lzjfw0000gn/T//Install.537GZGcI6”.
    Aug  1 15:23:09 MyDisk Installer[537]: Displaying 'Install Failed' UI.
    Aug  1 15:23:09 MyDisk Installer[537]: 'Install Failed' UI displayed message:'The Installer can’t create the folder “/var/folders/5v/s2wpc1ms7s99d0g2dx7lzjfw0000gn/T//Install.537GZGcI6”.'.
    other prods having trouble with /var/* as well...
    what gives? and what corrections to take?
    Thanks in advance

    Back up all data.
    Launch the Font Book application and validate all fonts. You must select the fonts in order to validate them. See the built-in help and this support article for instructions. If Font Book finds any issues, resolve them.
    From the application's menu bar, select
    File ▹ Restore Standard Fonts...
    You'll be prompted to confirm, and then to enter your administrator login password.
    Boot in safe mode to rebuild the font caches. Boot again as usual and test.
    Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. In that case, ask for instructions.
    Also note that if you deactivate or remove any built-in fonts, for instance by using a third-party font manager, the system may become unstable.

  • Copying msvcr71.dll from JRE installation

    Hi,
    When we started developing with Java 6, we found that the exe files we generated would fail because they could not find "msvcr71.dll". We know how to resolve that problem - the release notes for Java 6 say that we should include that dll in the same directory as the exe.
    http://java.sun.com/javase/6/webnotes/
    (under Windows notes)
    Does anyone know what the licensing issues are for this? The release notes for Java 6 only tell us to distribute the DLL, but they don't mention any license obligations on us for doing so, and the page that they link to on the MSDN contains no information about redistribution.
    We were hoping to copy the DLL that is included in the JRE installation into our own installation, but we aren't sure if this is legal.
    The only thing we've been able to find about this is a similar issue with Python distributions where because developers would be distributing a version of Python with their software, and that Python distribution was created with a licensed version of MS Visual C (where the DLL comes from), then it would be ok that they were "distributing" the dll with their own software.
    The text of that argument is at http://www.thescripts.com/forum/thread554311.html
    Does anyone know what the licensing situation is?
    Thanks

    If you have a license for Microsoft Visual C++ 2003 then it works
    check the link
    http://www.thescripts.com/forum/thread554311.html
    Regards

  • JDK\JRE installation

    Hi,
    I hope somebody can clear something up for me, it's something that has been bugging me and I cant find the answer.
    When I installed the jdk and jre I believe that I got 2 folders, one for each (if this is wrong then please correct me) as the installation times for the folders are 2 minutes apart.
    However when I look in the jdk folder it has a jre folder within in it, that looks to contain all the items from the jre installation.
    Can somebody tell me what is the standard jre you would be using from an installation? The one in the jdk folder or the one in jre folder?
    Is one redundant?
    Thanks

    PaulOckleford wrote:
    By 'the one' in the jre folder do you mean the bin folder? As I dont have a jdk folder in the jre installation directory.There is no jdk folder in the jre installation directory. A jre is intended to provide an execution environment for classes.
    I find this even more strange and I am even more confused now because there is no javac in the bin folder of the jre.javac is available in a JDK and not a JRE. A JRE is intended to be used with classes - those are already compiled and there is no need to have a compiler in there. The JDK is meant for developers and it will have a javac executable.
    I guess then those people can only compile classes from inside their IDE and not from the command line?huh?

  • JNLP does not trigger JRE installation

    Hi
    I want to launch my application with a minimum version of jre(i.e. 1.6.0_10). If on the system there is no jre installed
    or jre installed on the system is older than 1.6.0_10, i want jnlp to trigger the installation of jre 1.6.0_25.
    I tried following jnlp tags in my jnlp file:
    <java version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
    <j2se version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
    None of the above tags trigger the installation of jre if on the system there is no jre installed
    or installed jre is older than 1.6.0_10.
    Any help would be great.
    Thanks in advance.

    Andrew Thompson wrote:
    1) Why would you expect the JNLP to enforce _25+, when the JNLP specifies..
    ..<java version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
    _10+?My application is certified with jre version 1.6.0_25, but it can run on any jre version greater than 1.6.0_10. If user has any jre greater than 1.6.0_10 version application will use that jre. But if user does not have minimal jre version (i.e. 1.6.0_10) then i want to trigger jre installation and install the certified jre version for application(i.e. 1.6.0_25).
    2) Have you validated the JNLP file using JaNeLA?
    3) How is the link to the JNLP embedded in the web page?To me JNLP looks fine as it works fine if the system has atleast minimal jre version (i.e. 1.6.0_10), but fails to download jre 1.6.0_25 if it does not have 1.6.0_10 or any greater jre installed.
    The link "http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe" is the download link for jre 1.6.0_25.

Maybe you are looking for