Problem installing j2sdk1.4.2 on Linux and Windows NT

LINUX:
I use Linux (Suse 8.1) at home. I tried to install j2sdk1.4.2 rpm at "/usr/local/java" instead of "/usr/java", but with no success.
"--prefix" and "--badreloc" options did not work.
"--relocate" did not work either.
So, now I had to install it at /usr/java which is the defalut location. How can install it at a different location?
Any help is appreciated.
Windows:
I have to use windows at work.
I had a problem (s) installing j2sdk 1.4.2 on Windows NT. I was trying to install it into "d:\programs\j2sdk1.4.2" instead of "c:\j2sdk1.4.2". Installer stopped with the following error.
"Error 1303: blah blah"
So, I created the "j2sdk1.4.2" directory myself and started the installation again, but this time I got the following error, even though the directory is already created.
"Error 1317: An error occured while creating the directory d:\programs\j2sdk1.4.2"
Now, I have a couple of questions.
1) Do I have to be an administrator to install Java?
Until j2sdk1.4.1, it wasn't so.
2) Do I have to shutdown the machine after installation?
If the answer to either one of the questions is YES, I would NOT install 1.4.2 until December 2003 or until my windows machine crashes, which might be earlier. :)
I appreciate any help.
Thanks
bill

I am seeing the same symptom on Win2K. Trying to install
to "D:\java\j2sdk1.4.2" I get fatal error 1317. I can't
seem to find a workaround.
~Randy
Windows:
I have to use windows at work.
I had a problem (s) installing j2sdk 1.4.2 on Windows
NT. I was trying to install it into
"d:\programs\j2sdk1.4.2" instead of "c:\j2sdk1.4.2".
Installer stopped with the following error.
"Error 1303: blah blah"
So, I created the "j2sdk1.4.2" directory myself and
started the installation again, but this time I got
the following error, even though the directory is
already created.
"Error 1317: An error occured while creating the
directory d:\programs\j2sdk1.4.2"

Similar Messages

  • Different stringWidth between Linux and Windows

    When I use Ms Windows Arial Font in my Java Program running on Linux
    I found out the rendering result of the Font is different with same program running on Windows
    The Arial Font in Linux become wider, and this cause problem because i used absoule position.
    I am using Java 1.3.1, How can solve this problem??

    The Arial under Linux and Windows are not the same. Firts, they may be different font files, second, both systems uses different rendering engines to draw them. Also, some systems, as mine, won't have Arial font at all - substitute font will be used then. So, I would expect, you will have similar problems with any other font, any other operating system or even in some specific locales which uses reversed (right-to-left) line ordering. You will also be not able to do internationalization properly.
    Simply your application is not portable and written with breaking may portability rules. I hope, you are not doing it for money. The layout managers is the only existing aswer to your problem. The closest to absolute is a SpringLayout introduced in 1.4.x.
    The absolute location problem is not a bad thing in Java only - it can screw C, VisualC and CBuilder applications. Take some of them and tweek your system settings - use large fonts for buttons, tiny fonts for menu, change whatever OS provides you to be able to change in L&F and look what will happen with some of those applications. I would be really happy to have layout managers in CBuilder.
    regards,
    Tomasz Sztejka.

  • Problems using RMI between linux and windows.

    I have problems using RMI between linux and windows.
    This is my scenario:
    - Server running on linux pc
    - Clients running on linux and windows PCs
    When a linux client disconnect, first time that server try to call a method of this client, a rmi.ConnectException is generated so server can catch it, mark the client as disconnected and won't communicate with it anymore.
    When a windows client (tested on XP and Vista) disconnect, no exceptions are generated (I tryed to catch all the rmi exception), so server cannot know that client is disconnected and hangs trying to communicate with the windows client.
    Any ideas?
    Thanks in advance.
    cambieri

    Thanks for your reply.
    Yes, we are implementing a sort of callback using Publisher (remote Observable) and Subscribers (remote Observer). The pattern and relative code is very well described at this link: http://www2.sys-con.com/ITSG/virtualcd/java/archives/0210/schwell/index.html (look at the notifySubscribers(Object pub, Object code) function).
    Everything works great, the only problem is this: when a Publisher that reside on a Linux server try to notify something to a "dead" Subscriber that reside on a Windows PC it does't receive the usual ConnectException and so tends to hang.
    As a workaround we have solved now starting a new Thread for each update (notification), so only that Thread is blocked (until the timeout i guess) and not the entire "notifySubscribers" function (that contact all the Subscribers).
    Beside this, using the Thread seem to give us better performance.
    Is that missed ConnectException a bug? Or we are just making some mistake?
    We are using java 6 and when both client and server are Linux or Windows the ConnectException always happen and we don't have any problem.
    I hope that now this information are enough.
    Thanks again and greetings.
    O.C.

  • [SOLVED]Arch Linux, and Windows 8.1 Dual Boot issue

    Hi guys. I recently bought a new laptop, and decided to run Arch Linux and Windows 8.1. I installed Windows 8.1 first as recommended by the beginners guide, and then installed Arch Linux. I made sure UEFI was enabled in my BIOS, and made sure everything was on a GPT partition. The install itself went fine. My laptop loads grub, and Arch Linux shows up and boots, but there is no option to boot into Windows 8.1. The only way I can boot into Windows 8.1 is by accessing my motherboard, and choosing to launch the windows boot manager instead of the grub launcher. How can I get Windows 8.1 to show up in grub? Thanks in advance guys.
    Last edited by Painguy (2014-08-20 20:19:37)

    Painguy wrote:
    -----------Edit------------------
    Yeah just ran this after installing os prober
    grub-mkconfig -o /boot/grub/grub.cfg
    and it works now. Sorry for the crazy posts guys. Thanks for the suggestions and help.
    Yeah I'm sure I'm doing something wrong lol. I did not install OS-Prober. I think that's where the issue is. I'm missing the menu entry in grub.cfg right? Do I just run os prober or do I have to manually edit grub.cfg.
    If that's not the case then here is what I did up until now. What I did was start with a blank SSD drive. I used cgdisk to make the disk use a GPT partitioning scheme. I installed windows 8.1 and checked in windows to make sure it boots into UEFI-GPT mode and it does.  I then installed arch linux using the beginners guide. I made sure to use cgdisk to create any extra partitions, and installed GRUB to the efi partition that windows had created ( I did not format this partition ). I then finished the installation and rebooted, and Grub only shows arch linux. I don't think I'm dealing with anything MBR related. I made sure I used the GPT partitioning scheme....i think lol.
    All you need to do is run os-prober then run grub-mkconfig. It should pick up Windows at that point.

  • How to set owner-only access file permissions both on Linux and Windows

    Hi everybody.
    I have the following problem. I need to store some private user information in file system. So I need to set owner-only access permissions for some directory in user home. I did not find API for doing this. As I understand this is platform specific thing. Could anybody tell me how can I do this both on Linux and Windows?
    Thank you in advance.

    More ideas just came back to me (of something I did before)
    Each OS requires a different control.
    For Windows you will need to set the .policy file for each user (a pain if you have more than a dozen of clients) granting access (R or RW) to files/directories.
    Then you have to write some native code (access via JNI) to access/modify your authorization.
    A more professional solution that I used was J-Integra (other similar tool exist).
    Basically it is a bridge between Java and COM. It magically give you access to the COM API from Java (and vice versa).
    In my case it was to read/write/modify Winword documents transfered between PC and server.
    From memory you have to run the com2java.exe to build the bridge (classes in Java language) between the 2 families. Compile those classes and you have a "driver" for the COM (Microsoft Objects).
    Here I must confess my ignorance on Microsoft.
    Those COM objets must give you some easy/integrated access to the API for LDAP or Microsoft Active Directory Service (for centralize control with more complex setup).

  • Oracle DB sessions on Linux and Windows

    Actually I am confused the way session memory is allocated on 32 bit windows and linux OS.
    Windows is a thread based architecture where all user sessions are treated as threads of oracle.exe process. The addressable space is 4GB and oracle.exe can use up to 3GB in case you use /3GB switch in boot.ini file. It means that combined size of SGA ,PGA and other memory structures can not be more than 3GB. When a session gets connected with a database a PGA is allocated. It means that memory required by database sessions also comes from the 3GB limit. If your memory usage goes beyond 3GB you wont be able to connect new sessions with database or you would require to reduce the size of one of your SGA components.
    Linux is a process based architecture where each user session is treated as a separate process and has its own addressable space. Even on 32bit linux the addressable space is 4GB i.e. 2GB for process and 2GB for kernel. It means we need to accommodate our SGA and PGA in the 2GB limit (there are ways to increase the size of SGA but let assume we are doing nothing to raise the 2GB limit).
    As PGA is allocated for every session when it connects with database.
    My question is how PGA memory is allocated against a database session on linux.
    To further clarify my question I am stating the results of an experiment that I did on linux and windows.
    On windows I set the total size of SGA to 1730M and PGA aggregate target to 1024M. I was able to able to startup the database instance without any issue. Then I started connecting sessions with the database and even ran a query doing a heavy sort in one of the sessions but after connecting 10 sessions with DB I started getting ORA-12500 TNS Listener failed to start a dedicated server process error on windows.
    Then I did the same experiment on Red Hat Linux. SGA size was 1633MB and where as PGA aggregate target was only 10MB. I was unable to start instance when I set the SGA size more than 1633MB.
    With that setting I was able to connect more than 200 sessions with database inspite of running query doing heavy sort in 4 sessions without getting ORA-12500 error. I was even able to connect more than 400 sessions with database after setting PGA aggregate target to 1GB on Linux.
    Now my confusion is why linux was able to handle more DB sessions. I know it’s a process base model and each session is a separate process and has its own addressable space but as PGA is allocated against every session and PGA memory comes from 2GB limit then why PGA memory did not exhaust on linux. Is PGA allocated differently on linux as compared to windows?

    Perhaps the problem is easier to understand if you leave PGA_AGGREGATE_TARGET out of this issue completely.
    The out of memory problem you had, has nothing to do with PGA_AGGREGATE_TARGET setting directly. The difference in number of processes comes from architectural differences in how Oracle uses memory in windows vs unix.
    On windows the SGA + ALL PGAs must fit into one 4GB address space (in practice even smaller as youve noticed). This is because there's only one process, oracle.exe. One process = one address space.
    On Unix, you have many processes and every process can use portion of their own address space for PGA.
    So, on windows (32bit) you run out of address space for the single oracle.exe process. On unix you dont hit this limit just because the number of processes grows (but if some process wants to use a lot of PGA memory, then they eventually run out of address space (talking about 32bit again))
    On unix you probably ran into another limit - amount of total usable virtual memory (RAM+swap) available in your system
    Tanel Poder
    http://blog.tanelpoder.com

  • Problems Installing OBIEE 11.1.1.5 on Windows XP32 step ASInstance Creation

    Problems Installing OBIEE 11.1.1.5 on Windows XP32 step ASInstance failed
    The problem starts here
    weblogic.Deployer invoked with options: -adminurl NAR-GMIKOLAY:7001 -username weblogic -name NonJ2EEManagement -source C:\oracle\OBIEE\Oracle_BI1\opmn\applications\NonJ2EEManagement.ear -nostage -deploy -upload -noexit
    <Mar 7, 2012 3:56:21 AM EST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, NonJ2EEManagement [archive: C:\oracle\OBIEE\Oracle_BI1\opmn\applications\NonJ2EEManagement.ear], to configured targets.>
    then evolves into
    oracle.as.provisioning.exception.ASProvisioningException
    Caused by: oracle.as.provisioning.engine.CfgWorkflowException
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error creating ASInstance instance1.
    Cause:
    An internal operation has failed: Unable to validate NonJ2EEManagement Application deployment on admin server
    Caused by: oracle.as.config.utl.DeployerException: NonJ2EEManagement Applicationdeployment failed
    Caused by: java.lang.reflect.InvocationTargetException
    **Then the PermGen space errors**
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: PermGen space
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: PermGen spac
    Caused by: java.lang.OutOfMemoryError: PermGen space
    I have tried reinstalling 6 different times each after cleaning registry and Middleware folder and environment variables, installation folders,
    deleting middleware home. I cannot get past this "step ASInstance failed"
    I am using the Simple Install.
    I've tried so many of the ideas suggested out here, from verifiying the loop-back adapter in hosts in windows/system32/drivers/etc/
    pinging the host computer to verify
    some suggested turning internet off while installing OBIEE
    I need some help.
    I have 4 GB installed memory
    Oracle Database Enterprise Edition 11.2.0.1
    Oracle RCU 11.1.1.5
    OBIEE 11.1.1.5
    oraparam.ini JRE_MEMORY_OPTIONS=" -mx768m -XX:MaxPermSize=768m" ( cannot change these during simple install)
    Cannot run software install only
    I tried same with OBIEE 11.1.1.6 using RCU 11.1.1.6
    Cannot get past the step ASInstance failed.
    On top of this, there is the humiliation of hearing people set up 11.1.1.3 with 2 GB memory on Windows XP32.
    Now I understand, size-wise there is major difference between 11.1.1.3 and 11.1.1.6 and 11.1.1.5
    But I cannot get through this process anyhow and 11.1.1.3 is not available
    of course there is a windows 32 install so, given the memory requirements and memory limitations of Windows 32 bit, and other people's success I cannot understand my reason for failure.
    Please help

    Please check the System Requirements for OBIEE 11.1.1.5, Windows XP might not be supported.

  • I have problems installing update for PS Elements 9 under Windows 8.1. Are any problems known?

    I have problems installing update for PS Elements 9 under Windows 8.1. Are any problems known?

    Nobody can tell you anything without proper technical details. There is no point whatsoever in throwing around generalized assumptions without having exact error messages and so on.
    Mylenium

  • How to link Linux and Windows?

    hi,
    i would like to build an application which can link both linux and windows together so that the linux's users can communicate with windows's users without problem. But i don't know which java's technologies used to do this job. Java CORBA? Java RMI? or others? Can you help me?
    thanks a lot.
    from
    mercy

    if i want to build a messaging or chat program like ICQ, java.net package can be used so that ICQ Linux's users can send messages to ICQ windows's users?

  • What versions of Linux and WIndows are supported?

    I have looked on the web site, and cannot find what versions of Linux and Windows are supported? Most of the documentation just says Linux and/or Windows, with no referenence to version.
    My specific questions are for Oracle Personal server:
    Is it supported on
    Windows XP Professional
    Windows XP Home Edition
    Red Hat Linux 7.3
    Red Hat Linux 7.2
    Red Hat Linux 8.0
    Red Hat Linux 9.0
    RHEL 3.0
    If yes to all or some, what is the best OS/Version to install the Oracle Personal Server on? Considering performance? Ease of install and use?
    Thanks,
    Tomas

    Joel:
    Thanks. But, when I tried to create an acct in metalink section, it said I needed a "support identifier". When I researched this, it seems I can only get a "support indentifier" if I have a valid support contract.
    Now, that seems a bit of "the cart before the horse", as I am thinking of buying the Oracle Personal Server, but have not.
    And want to know supported platforms before I do buy. But, now it seems I have to buy, to get my pre-sales question answered.
    Is there another place I can find this info, possibly a pre-sales area of the oracle web?
    Rgds,
    Tomas

  • Multiboot with LINUX and Windows

    Does solaris support multiboot with UNIX, LINUX and Windows.
    All of them in the same disk on primary hdd.
    thanks

    Hello pradyut. It is not possible to boot Solaris 10 from Linux GRUB since Sun uses a modified GRUB which can deal with SUN partition 'slices'. The opposite (Sun grub booting Linux), however, is really easy to do. If you installed Solaris last you can edit Solaris /boot/grub/menu.lst and just add another entry the same as the Windows menu entry, except for the changed name and partition number.
    So, for example, with a Windows entry similar as follows:
    title Windows
         rootnoverify (hd0,0)
         chainloader +1
    just copy/paste it where you want it to go and edit as follows:
    title Linux xx.. <- you put whatever title you wish here
         rootnoverify (hd0,X)
         chainloader +1
    ..where X = the correct partition number of the Linux /boot code. If your Linux /boot directory is installed in the second physical partition (directly after Windows), for example, X would be 1 if a primary partition, or 4 if the first logical partition.
    If you are not really sure what partition number to use (this can be confusing and difficult to even describe), you could easily discover the correct partition number by trial and error, or run (in a Linux console) df -h. A wrong partition number entry will produce a harmless GRUB error and return you to the Solaris boot menu to try again.
    If you look at the Grub documentation, you will find that it is really even easier to make these changes on the fly (while actually booting). Highlight the Grub menu item via the down-arrow, press ESC, then E. This will allow you to edit that line, and quickly change the 'X' number and try it. Type <Enter> once your edit is done, and then highlight the menu entry to boot, and type B.
    Either way, you can return to Solaris /boot/grub.menu.lst and put in the correct number and it will always boot the Linux loader even after updates, reinstalls, and kernel upgrades.
    Also remember that if you are using logical partitioning in one of the physical partitions, the first logical partition is always HD0,4 (assuming hard disk 0) whether there are 4, or less than 4 physical partitions.
    I hope this helps!
    pm..

  • Running jar in Linux and Windows

    Hi
    I created a jar file in Linux and it is running fine under Linux.
    But when I tried to run the same jar under windows,I got the following error
    Exception in thread "main" java.lang.NoClassDefFoundError:
    Is there any difference between running jar files in Linux and Windows?

    Hi
    I have a jar(say program.jar) containing a program which uses some libraries(again some jar files).The manifest file is written to look for the library jar files in the current directory.
    Main-Class: package_name.program_name
    Class-Path: fits.jar image.jar util.jar myutil.jar
    But while running the jar file in WINDOWS (java -jar program.jar <parameter list>)
    the following error occurs:
    Exception in thread "main" java.lang.NoClassDefFoundError:
    nom/tam/fits/Data"
    the class Data is present in the fits.jar jarfile.
    The same jar(run in the same manner)does not give any problems in Linux

  • Oracle CRS across linux and windows

    I am interested in finding out if anyone has tried installing CRS across linux and windows - it should be possible (at least theoretically!), by running the crssetup.exe or the shell scripts to clone / add node etc.
    This is just for testing (having an idle and a very powerful Windows box idle) - would be great if this windows box could be added to the linux RAC cluster.
    Does anyone have the command line syntax of all the commands that need to be executed (without using a GUI such as addNode.sh)?
    One drastic way seems to be to install on linux first (copy the voting and registry disks using dd, dd over /dev/zero file), install on windows again and then "fix" the linux one by re-registering etc. - appreciate any ideas on this!

    Murali is correct - this is something to do with the format of the voting and registry. I was able to get as far as adding the nodes and olsnodes shows up on both linux and windows - but either cannot get ocssd to start up. Anyway this was just a exercise to see if CRS really cannot work or if it is just a soft requirement.
    For reference though, this is what I did:
    Use the excellent document on cloning at:
    http://download-east.oracle.com/docs/cd/B19306_01/em.102/b16227/oui7_cloning.htm
    1. record a response file and get the details of the options to pass to setup/runInstaller (-record -destinationFile fullPathtoResponsefile)
    2. use perl clone/bin/clone.pl
    3. run setup.exe using a command such as the one below:
    .\setup.exe -noConfig -clone -waitForCompletion "ORACLE_HOME=c:\oracle\crs10.2"
    "ORACLE_HOME_NAME=crs10" "n_storageTypeVDSK=2" "n_storageTypeOCR=2" "sl_OHPartitionsAndSpace_valueFromDlg={6,1,1012,0,N/A,1,7,1,1012,0,N/A,2}
    " "sl_tableList={verdani:verdani-priv:verdani-vip,mentor:mentor-priv:mentor-vip}
    " "s_ocrpartitionlocation=\\.\ocrcfg" "s_votingdisklocation=\\.\votedsk1" "PERFO
    RM_PARTITION_TASKS=FALSE" -silent -noconfig "s_clustername=crs10" "s_OcrVdskMirr
    or1RetVal=NO_VAL" "s_ocrMirrorLocation=NO_VAL" "s_VdskMirror2RetVal=NO_VAL"
    ** Make sure that the disk#s are correct! (check in disk management)
    Use GUIOracleOBJManager.exe in crsHome/bin to add the links to the raw devices (logical drives on extended partitions in windows)
    4. For linux use a command similar to the following:
    perl clone.pl ORACLE_HOME=/opt/oracle/product/crs10.2 ORACLE_HOME_NAME=crs10 '-O
    n_storageTypeVDSK=2' '-On_storageTypeOCR=2' '-O"sl_tableList={verdani:verdani-pr
    iv:verdani-vip,mentor:mentor-priv:mentor-vip,arisia:arisia-priv:arisia-vip}"' '-
    O-noConfig''-O"INVENTORY_LOCATION=/opt/oracle/oraInventory"' '-OPERFORM_PARTITIO
    N_TASKS=FALSE' '-O"s_ocrpartitionlocation=/dev/raw/ocrregistry"' '-O"s_votingdis
    klocation=/dev/raw/ocrvotingdisk"'
    5. after setup finishes on windows, follow the instructions in cfgToolLogs/configToolAllCommands - that runs crssetup.exe on windows to add the nodes.
    6. Add the linux nodes directly using clscfg on Windows

  • Can MacPro supports Linux and windows OS ?

    Hi,
    I want o install both linux and windows(Triple Boot: Mac OSX, Windows, and Inux) Is this possible? if yes can someone provide me the steps to insall both OS?
    Thanks,
    Harsha

    If I understand correctly,
    Using boot camp we can install windows, Linus while Mac OS is untouched. At the time of system start up I can choose which one I need out of three OS.
    This is correct.
    Another way is , install windows using boot camp and use VMware kind of softwares to install and run linux in a virtual machine.
    True, though you can run Windows in a virtual machine as well.
    While I was searching in Internet for the ways to install Linux I cam across the virtual box soft ware , I guess which is similar to VMware. Do you have any idea which one is better?
    I am not familiar with Virtual Box. Taking a brief look at their web site it does look similar, but I do not know which is better.
    Is VMware is free to dowoad from Internet or shall I need to buy this ?
    Parallels and VMware I believe have free trial versions, but eventually you need to purchase them. They are well worth the money in my opinion.
    Best of luck.

  • I have an email account causes the machine to hang up after being in use for a day.  It only occurs on my Macbook Pro and only one particular account.  The problem account works fine on my iMac and Windows Machines.  Any ideas what is causing this?

    I have an email account causes the machine to hang up after being in use for a day.  It only occurs on my Macbook Pro and only one particular account.  The problem account works fine on my iMac and Windows Machines.  I have been to the local Genius bar and through trial and error we have determined that Mail is working ok but somehow the account is causing the problem.  I have used this account for years.  Any ideas what is causing this?

    No idea why, but one thing you may try if you have the time, is create a new user, and set up the problem mail account in the new user space. See if it causes your MBP to hang as well.  That will tell you if it is something wrong with your main User, or something wrong with MBP.
    Assuming this works, I'd nuke the problem account in your main user space, re-start, and reinititate the account and see if that helps.
    Depening on how many email accounts you have setup, it may be necessary to nuke the whole Mail folder in your User/Library....   Hard way to get it to work, but just my idea.

Maybe you are looking for

  • Can't see thumbnails pse 7

    I have just installed pse 7 all seems ok, but the thumbnails do not appear when in organiser, anyone else had this problem? Is there a patch or way to view them properly? By the way this is my first try at elements, and am a bit of a techno klutz !

  • I have the iPhone 5 and already have it set up, however im trying to put CDs on it from my computer and itunes is trying to get me to set it up from scratch. How do I get round this?

    I have the iPhone 5 and already have it set up, however im trying to put CDs on it from my computer and itunes is trying to get me to set it up from scratch. How do I get round this?

  • How to turn off software auto-open?

    I'm currently running the Aperture trial and whenever I plug in my iphone the software automatically opens. There must be a simple command to disable this - it's extremely annoying - I just can't seem to find it. Any help would be much appreciated Ma

  • Regarding PM Settelment

    Dear All SAP SDN Guru's I am settling cost on maintenance ORDER through ko88 with automatic processing type, in some maintenance orders, system is not settling the full cost instead it is settling cost partially. For example, I created a maintenance

  • Complex get previous

    Hi, I'm facing following problem using below data(= employee's career history): EMPLID EFFDT EFFSEQ POSITION_NBR ACTION_REASON 100 1/07/1978 0 99999999 FST 100 1/01/2011 0 10003170 CNV 100 1/01/2011 1 10003270 STR 100 22/02/2011 0 10004729 STR 100 1/