[solved] 32bit Sun JVM on 64bit Arch

Hello,
Does anybody know an easy way to install 32bit Sun's JVM on 64bit Archlinux?
I know that I can download installation script from Sun's website but I want to make this JVM available to all users and install it in some clean way --- making somehow Arch package from the Sun's installer would be nice.
Maybe I could use the ABS tree, there is a JRE and JDK there, but I don't know how to compile them to 32bit versions and make x86_64 packages of them.
THX in advance.
Last edited by kryr (2008-06-19 22:00:51)

Yes - just use my package here.  I've  used it for quite some time now, and it works perfectly.  One small note - it's expected to be the only JDK on your system (no parallel 64-bit version).  I did it that way because I haven't had the time to make something like Gentoo's 'java-config' or 'eselect' utilities.  However, it does work with everything, even Eclipse.
Good luck!

Similar Messages

  • [SOLVED]Compiling 32bit C programs on a 64bit arch

    Hi guys, for the first time I decided to use 64bit arch on my machine and so far no complains (I don't think there will ever be). I'm a student of computer engineering  and I use C to code some projects but I haven't found a way to compile 32bit programs on my 64bit arch. Everybody says "just add -m32 flag to the compile step" but I think this is not all I have to do (it doesn't work if I just do that).
    To prove it I have created a simple "hello world" in C:
    #include <stdio.h>
    int main(){
    printf("Hello, World");
    return 0;
    When I try to compile it, I just run
    gcc -m32 hello.c -o hello
    But all I get is
    In file included from /usr/include/features.h:399:0,
    from /usr/include/stdio.h:27,
    from test.c:1:
    /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    compile finish
    Needless to say it doesn't create the hello executable. Is there some packages I have to install in order to have this happen?
    Last edited by xangelux (2012-07-25 00:24:40)

    xangelux wrote:/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    Well, you could see that something "-32" is missing so you are searching for 32 bit stuff that is not installed.
    There's a tool called pkgfile which searches in the repository database for a file name and tells you which package it is in.
    In this case, stubs-32.h
    ~ % pkgfile stubs-32.h
    multilib/lib32-glibc
    Maybe another helpful article: https://wiki.archlinux.org/index.php/Ar … ib_Project

  • BEA-280101 warning while using Weblogic 10.3.3 on SPARC 64bit sun jvm

    Hi all:
    I got this warning when start Weblogic 10.3.3 on SPARC 64bit sun jvm
    <BEA-280101> <The persistent file store "_WLS_xxxdomain" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    I have checked that Native I/O is enabled,but it seems JMS can't find correct .so file
    Any idea? Thanks in advance!
    Best regards,
    James

    We are also getting the same error on a Linux 10.3.3 installation with 64bit jrockit
    Red Hat Enterprise Linux Server release 5.5
    Linux 2.6.18-194.3.1.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
    Is that the correct driver? This is a default weblogic installation, what is missing so it uses the correct I/O method?
    ####<Jun 22, 2010 6:04:12 PM CEST> <Info> <Store> <server> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <12772226524
    27> <BEA-280008> <Opening the persistent file store "_WLS_admdominio1" for recovery: directory=/weblogic103/user_projects/domain/servers/server/data/store/default requestedWritePolicy="Dire
    ct-Write" fileLockingEnabled=true driver="NIO".>
    ####<Jun 22, 2010 6:04:12 PM CEST> <Warning> <Store> <wlserver> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277222652564> <BEA-280101> <The persistent file store "_WLS_wlserver" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    Edited by: ezra-s on 22-jun-2010 18:46

  • [Solved] 32bits app on 64bits system

    Hi,
    I get the following message when trying to execute the anubis program :
    $ anubis
    bash: /usr/bin/anubis: Aucun fichier ou dossier de ce type
    (which means No such file or directory)
    The file exists so I guess the probem is that anubis is a 32bits prog and my system is arch64.
    According to the wiki it is possible to execute a 32bits app on a 64bits system if I install the lib32 libraries.
    So which library should I install ?
    WIll these solve my problem ?
    Last edited by Nanor (2011-07-22 09:56:57)

    loafer wrote:
    multilib is a repo rather than a package.  See here:
    https://wiki.archlinux.org/index.php/Ar … _Arch64.3F
    oh sh*t you're right... i forgot ,thanks for the right link this will answer his problem.
    i'm running a multilib system to due flash problems.......
    Last edited by gregor (2011-07-22 09:42:42)

  • Unable to install 32bit libs on 64bit Arch

    Hi everyone,
    I have been trying to install 32bit packages on my 64bit Archlinux.But when ever I issue a command eg:Pacman -S  lib32-glibc I get an error "Target not found".I have enabled the
    [multi-lib] respository.I know that it shouldn't be a problem once you enable the respository.I must be missing out something here.I have searched for lib32 packages with the command "pacman -Qs lib32" but all in vain, there aren't lib32 libraries installed :-(.
    Any help will be appreciated.
    Thanks

    Please note this pacman.conf file.
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #UseDelta
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    #SigLevel = Never
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    #[multilib]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs

  • Oracle 10g + Solaris + 32bit Sun Hardware

    Does Oracle 10g (which has a default 64bit Solaris installation) work on solaris + 32bit Sun Hardware? thanks

    Hi,
    yes, it does work on a 32 bit hardware, but you need a 64 bit version of Solaris.
    Regards
    Laurent Schneider
    OCM-DBA

  • IE doesn't recognise Sun JVM..

    I stuffed up my IE 6.0 installation .... I can't recall what I changed but the browser doesn't recognise my JVM anymore. Applets won't download...... I did all the obvious as explained on the relevant Sun and MS websites, such as:
    - reinstalled JVM 1.4.x
    - configured browser using via Java, Internet Control Panels (uncheck the MS JVM, etc.)
    - flushed temp internet files
    - rebooted
    I am getting desperate for any help..... Thanks in advance.

    Hello All,
    I've been looking into this problem for quite a while now and I'm not sure if it is only 1 problem or two.
    On some machines Java appears to be disabled. This is fixable by uninstalling and re-installing either the Sun JVM (as robby_h mentions) or by re-installing the MS JVM (which is a little hard to find).
    The second problem I have seen is where the Sun JVM still starts as does the Applet, but the database connection we use doesn't work. It appears to be substituting 127.0.0.1 (the local machine) for the Host in the connection string. I'm not sure if this is the only effect but it does cause a major problem for us as some of our clients are unable to use our e-commerce sites and a lot will not be reporting the issue to us.
    I have been working on finding a way to solve the problem. It's not pretty but removing Java (both MS JVM and Sun JVM) completely and then re-installing it has worked so far. I've tested it on win 2k and XP home machines.
    I am not sure where the problem actually is. I believe that it's something to do with IE which is changed (probably a/some dll files) when Java is installed. This would explain why in some cases installing a different version of the Sun JVM might work as if the dll files are different then they will overwrite the bad dlls and hence solve the problem.
    robby_h, have you tried re-installing the latest Sun JVM since you got it working with 1.3?
    If it is a problem with a corrupt dll then I have no idea which one it is. Anyone know how to find out?
    Alastair.

  • Jmap and jstack error: sun.jvm.hotspot.debugger.NoSuchSymbolException

    Hi,
    <BR ><BR >
    We are finding some problems using an application on a Tomcat 5.5 server and we want to discover which class is causing an OutOfMemoryException. I seems that jmap could help us whith the task but it fails with the following error:
    <BR ><BR >
    <i>jps
    <br>
    11988 Bootstrap<br>
    12616 Jps
    <BR ><BR >
    jmap 11988<br>
    Attaching to process ID 11988, please wait...
    sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (libjvm.so, libjvm_g.so, gamma_g)
    at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:410)
    at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:391)
    at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:85)
    at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:68)
    at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:550)
    at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:476)
    at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:314)
    at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)
    at sun.jvm.hotspot.tools.JMap.main(JMap.java:126)
    Debugger attached successfully.
    jmap requires a java VM process/core!
    </i>
    <BR ><BR >
    jstack shows the same error with a very similar exception. I have found that other people is having this problem but I have found no fix avalaible on the Internet. ( see, for example, http://www.javalobby.org/java/forums/m91812587.html#91812522 )
    <BR ><BR >
    Other applications like jconsole work perfectly. Any alternative tool may solve the problem,
    <BR ><BR >
    By the way: I am using:
    O.S. : Linux Mandriva 2006<BR >
    JVM: java version "1.5.0_06"<BR >
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    <BR ><BR >
    Thanks in advance,
    <BR ><BR >
    Borja

    guys,
    I was fiddling around to test jmap,
    here are the things that worked for me.
    $ jps
    6281
    8214 Jps
    7045 Main
    7159 Resin
    $ jmap -J-d32 -heap 7045
    It seems only the Main pid will work and not all others .......
    post your suggestions.
    Raj

  • THE SUN JVM IS NOT INSTALLED

    when i open a page with java on it, it is not viewable. instead, i get this error message: THE SUN JVM IS NOT INSTALLED: CLICK TO INSTALL
    so i click to install, but download is 108MB. i was told by a friend that all i need is a 14MB download, but dont know how to find it.
    another friend told me that i need J2SDK, but that's a 165MB download. then i emailed Sun, and they said i just need JAVA VIRTUAL MACHINE and not J2SDK, but when downloading JAVA VIRTUAL MACHINE, i get JAVA RUNTIME ENVIRONMENT SE v 1.4.2_06 with 108MB.
    other things i tried downloading:
    -J2SE SDK which is supposed to be 14MB and i keep getting JAVA2RUNTIME ENVIRONMENT SE v1.4.2_06 which is 108mb.
    j2re-1_4_2_xx-windows-i586-p-iftw.exe.
    -J2SDK SE v 1.4.2_06 by clicking:
    For Windows, choose "Windows Online Installation" for the quickest download and installation on a machine connected to the Internet. The default download size is 48.6MB, which is the maximum download. The size may decrease if features are deselected, to a minimum of 14.3MB.'
    but what downloaded was not 14MB, it was 165MB.
    I need java only for viewing certain parts of pages, nothing more, so 165MB seems crazy. i try to install only certain parts by checking 'do not install this now', but it gets installed anyway. there seems to be no way to only install a portion of the download. and the strangest thing is that i once had java, so where did it disappear to?
    how can i just get the 14 mb download. i've tried EVERYTHING.
    can anyone help? i've spent HOURS being challenged by this.

    you just solved the problem, caffeine! you're the man (or gal) !!!!!
    i clicked on: Online Installer and downloaded: http://jdl.sun.com/webapps/download/AutoDL?BundleId=9811
    which is now (in properties on the install icon), noted as j2re-1_4_2_06-windows-i586-p-iftw 1.35 MB.
    FYI: add/remove programs still says 108MB.
    i'm still having a bit of trouble understanding this concept (could be my ADD) so to clarify...you saying that Add Remove Programs contains only an estimate of the size of an install program after installation, not the download size. i just assumed they were the same size. An install program is usually compressed. During installation, files inside the install program are uncompressed and copied to the appropriate locations on your hard drive , meaning that even tho i am downloading something of 1.35MB, those 1.35MB are compressed, and so when i uncompress them (by installing them on machine) the file size is increased? how can 1.35MB increase to approx. 108MB? and in the end, is this taking up 1.35MB or 108MB on my hard drive. (you say 108 is an estimate. but 1.35 is so different than 108, what kind of estimate is that?)
    and finally,
    - why do some friends have this noted as 14MB in THEIR add/remove programs.
    - why do i have 1.35 and not 14MB (which is what most people have).
    Most of the files for the JRE are copied to C:\Program Files\Java\j2re1.4.2_06. If you want to see the size of that folder and its contents right click on the folder (j2re1.4.2_06) and select properties. when i go to the actual folder, it says 33.7 MB. now i'm doubly confused as i thought it was 1.35MB.
    By the way I believe you have downloaded and installed the JRE 1.4.2_06. yes i have, but i dont think i need the whole Java Runtime Environment just to view apps, do i? whenever i click on a download (like yours, for instance) the link leads to download of JRE 1.4.2_06. how can i get rid of what's not needed. again, i only need JAVA TO VIEW JAVA APPS.
    are you exhausted yet??? (sorry, i really am trying to understand this).
    thanks soooooooooo much caffeine!
    deb

  • Cannot print with sun jvm

    Hi all.
    I am having trouble with printing.
    Printer icon in browser is red crossed, saying: can't print (no browser privileges)
    This is happening with sun java virtual machine, in both iexplorer and mozilla.
    (all three of them latest version). Disabling sun jvm and using ie with native
    ms jvm works fine.
    I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
    Sun Java console says:
    Secure Global Desktop 4.00.903: Can't print Can't Print (No browser privileges):java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute).
    Printing not possible. Please inform an Administrator.
    This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
    In case it matters, server is RH 9.
    Any tip would be appreciated.
    TIA
    Alan.

    Solved.
    Some of the files at /opt/tarantella/var/docroot/java
    were not publicly readable.
    A permissions denied error was appearing in apache's error log.
    Changing files from 0640 to 0644 solved the problem.
    Another solution could have been adding the group ttaserv to
    my apache user, to allow my apache to access all tta webserver
    related files. But I won't do it by now unless other problems
    arrise.
    Hope this could help someone else.
    Alan.
    Alan Weber wrote:
    Alan Weber wrote:
    Hi all.
    I am having trouble with printing.
    Printer icon in browser is red crossed, saying: can't print (no
    browser privileges)
    This is happening with sun java virtual machine, in both iexplorer and
    mozilla.
    (all three of them latest version). Disabling sun jvm and using ie
    with native
    ms jvm works fine.
    I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
    Sun Java console says:
    Secure Global Desktop 4.00.903: Can't print Can't Print (No browser
    privileges):java.security.AccessControlException: access denied
    (java.io.FilePermission <<ALL FILES>> execute).
    Printing not possible. Please inform an Administrator.
    This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
    In case it matters, server is RH 9.
    Any tip would be appreciated.
    TIA
    Alan.I am using my own web server, RH's default apache, and installed tta's
    webserver on port 81.
    When tested against tta's webserver this problem does not occur.
    Anything to update in my own apache config? Everything was working fine
    in tta 3.30.
    Alan.

  • MSJVM to Sun JVM for Internet Explorer

    Hi,
    Currently I am using an applet in a jsp.
    This applet is for authentication purpose.
    Now currently we want to test it with
    sun JVM instead of MSJVM. Could you
    please tell what needs to be done.
    thanks
    radki_j

    Just install the Sun JRE version you need and register it to handle the Applet tag which is an option in the Tools->InternetOptions section of IE.

  • Issue in configuration - formsweb.cfg (10.1.2.0.2) using Sun JVM

    Hi gurus,
    Below is my config in formsweb.cfg, I want to use Sun JVM instead of Jinitiator
    [customjpi]
    baseHTML=D:\Ora10gDS\forms\server\base.htm
    baseHTMLjpi=D:\Ora10gDS\forms\server\basejpi.htm
    baseHTMLjinitiator=D:\Ora10gDS\forms\server\basejpi.htm
    HTMLdelimiter=%
    envFile=default.env
    escapeparams=true
    form=test.fmx
    serverURL=/forms/lservlet
    codebase=/forms/java
    imageBase=DocumentBase
    width=100%
    height=100%
    separateFrame=true
    archive=D:\Ora10gDS\forms\java\frmall.jar
    archive_jini=D:\Ora10gDS\forms\java\frmall_jinit.jar
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_09
    When I calling form using URL http://pc021161.cts.com:8889/forms/frmservlet?config=customjpi which is throwing errors.
    Below is my log of Java console
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\125217
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.net.MalformedURLException: unknown protocol: d
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
         at sun.plugin.AppletViewer.initApplet(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Please help, if anybody have the idea of this error.
    Thanks in Advance
    Justin

    My default.env file is pasting below:
    # $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
    # default.env - default Forms environment file, Windows version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value in the Windows registry
    # will be used. If no value is found in the registry, the value used will
    # be that defined in the environment in which the servlet engine (OC4J
    # or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=D:\Ora10gDS
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # If you need to include more than one directory, they should be semi-colon
    # separated (e.g. c:\test\dir1;c:\test\dir2)
    FORMS_PATH=D:\Ora10gDS\forms;D:\Source\FMB;D:\Source\LIB
    # webutil config file path
    WEBUTIL_CONFIG=D:\Ora10gDS\forms\server\webutil.cfg
    # Disable/remove this variable if end-users need access to the query-where
    # functionality which potentially allows them to enter arbitrary SQL
    # statements when in enter-query mode.
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    # The PATH setting is required in order to pick up the JVM (jvm.dll).
    # The Forms runtime executable and dll's are assumed to be in
    # D:\Ora10gDS\bin if they are not in the PATH.
    # In addition, if you are running Graphics applications, you will need
    # to append the following to the path (where <Graphics Oracle Home> should
    # be replaced with the actual location of your Graphics 6i oracle_home):
    # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
    PATH=D:\Ora10gDS\bin;D:\Ora10gDS\jdk\jre\bin\client
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications. In addition, you will need to
    # modify the PATH variable above as described above.
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    #GRAPHICS60_PATH=
    # Settings for Forms tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
    # System settings
    # You should not normally need to modify these settings
    FORMS=D:\Ora10gDS\forms
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=D:\Ora10gDS\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;D:\Ora10gDS\jlib\repository.jar;D:\Ora10gDS\jlib\ldapjclnt10.jar;D:\Ora10gDS\jlib\debugger.jar;D:\Ora10gDS\jlib\ewt3.jar;D:\Ora10gDS\jlib\share.jar;D:\Ora10gDS\jlib\utj.jar;D:\Ora10gDS\jlib\zrclient.jar;D:\Ora10gDS\reports\jlib\rwrun.jar;D:\Ora10gDS\forms\java\frmwebutil.jar;D:\Ora10gDS\forms\java\frmall.jar;D:\Ora10gDS\forms\java\frmall_jinit.jar
    Regards
    justin

  • Create Shopping Page gives Javascript Error - Sun JVM in a DMZ?

    Hi SDN
    We are running on SRM 5.0, with server at 5.5 and we have just implemented SP 11.  Since then, our users running IE with the Sun JVM 1.4.2_10 are getting a JavaScript  error everytime an applet loads on their page (in this case, it is the applet within the Document & Attachments section).  Moreover, our portal is being hosted on an SSL secured server within our DMZ, in conjunction with a Provencia IDS System, Blue Coat hardarware, RadWare, ...etc.
    The only way we can make that page work, is by disabling the Sun JVM and use the MS Version of the JVM.  At that point, no issue with the applet on our SSL Secured Portal.  Even funnier, is that when I'm calling directly the Portal Server (without the SSL proxy), even if i run the Sun JVM, I'm not getting the error. Since we have over 1000 users, it woulde be aimpossible to have all of them making that change... We need to make that work.
    Have you ever experienced something like that?  If yes, what have you done to fix it? Any suggestion, OSS notes
    Thanks in advance
    Eric L.

    I am having almost the same issue.  This is what my java console throws "load: class com.sapportals.portal.epcf.EPCMfactory not found."

  • Issues with migrating to SUN JVM

    Hi
    Chapter 4 of the "Microsoft Java Virtual Machine Transition Guide for IT Professionals" [part of the documentation for "The Diagnostic Tool for the Microsoft Virtual Machine"] contains[under a discussion of disabling Java] :
    (a) '... the Sun JRE, which "impersonates" the Microsoft Java Virtual Machine in IE ...';
    (b) 'Some Java plug-ins install in a Windows system by "impersonating" the Microsoft Java Virtual Machine using the same registry entry and Class ID in installation ... Be cautious when installing JREs that impersonate the Microsoft Java Virtual Machine ...'.
    Can anyone provide more information about this "impersonation" and what to be "cautious" about?
    In particular:
    (1) Does the impersonation only affect interpretation of applets under Internet Explorer plus any direct HTML references to the associated registry entries [and not any direct executable references to the Microsoft Java VM]?
    (2) Does the Microsoft Java VM have to be retained [even if another JRE is installed] to support any direct executable references to it?
    When I run "The Diagnostic Tool for the Microsoft Virtual Machine" on a Windows 98SE system, its VM Dependency Report has many entries for Micrsoft library modules - eg IEDETECT.DLL - and its Visual J++ Class Report has many entries - eg C:\WINDOWS\SYSTEM\MSHTML.DLL.
    There is no information about whether such dependencies are critical - the modules may have alternative paths if the MSJVM is not installed.
    At this stage, I suspect that Microsoft is not going to issue updates to such modules [Windows 98 is no longer fully supported] and therefore it would be unsafe to remove the Microsoft Java VM.
    Chapter 4 also mentions a "TreatAs" subkey, and recommends removing it. Does the Sun JRE install or rely on such a subkey?
    Chapter 6 says that "The use of Microsoft extensions is easy to find in current J++ source files ..." but is there any way that users without access to such source files can find which executable modules are dependendent on the entries shown when I run "The Diagnostic Tool for the Microsoft Virtual Machine" and look at its Visual J++ JAVAREG Report [which lists CLSIDs and associated Java classes for msjava.dll].
    Regards,
    Peter Jones

    HI Owen,
    JVM dependent web Applications are not working with IE after migrating to SUN JVM from MSJVM
    steps I followed are as follows.
    1)uninstalled MSJVM using MSJVM removal tool
    2) Install SUNJVM 1.4.2_07
    os used is windows xp sp2.
    I did checked SUN JVM in Internet options.
    Then I tried to test JVM dependent web apps on this they are not working. sometime JVM was attempting to upgrade to a newer version.
    But strangely it started working when I followed follwong steps.
    1) Install SUNJVM 1.4.1 (initial) - this version actually works proper with Documentum
    2) Uninstall SUNJVM 1.4.1 from Add/Remove Programs AND Remove the two Java Folders from Registry, under the Software Folder
    3) Reboot the pc
    4) Install SUNJVM 1.4.2_07
    5)checked SUN JVM in Internet options.
    Can Some one help me to know the reason for both not wokring and working.espl working since deepending on this I need to decide on how to migrate to SUN JVM
    Thanks
    Nagaraj
    History:
    My client is having MSJVM on their PCs I had suggested to migrate all these MSJVM dependent apps to SUN JVM. In this process I wanted to test these MSJVM apps with SUN JVM. while setting test lab I observed above mentioned behaviour.

  • Sun JVM works, Microsoft VM gives an error

    I've got this applet:
    import java.awt.*;
    import java.applet.Applet;
    import java.net.*;
    import java.io.*;
    public class Standen
    extends Applet {
    private URL sourceFile;
    private BufferedReader inFile;
    private String lines="";
    public String getScores(String bestand) {
    try {
         sourceFile = new URL(getCodeBase(), bestand);
    getFile();
         getMostRecent();
    catch (Exception ex) {
    return "";
    return lines;
    private void getFile() throws Exception {
    URLConnection link = sourceFile.openConnection();
    inFile = new BufferedReader(new InputStreamReader(link.getInputStream()));
    lines = "";
    String line = "";//lezen van bestand
    do {
    if (line != "") {
              line = line.trim();
    lines = lines + line + "\n";
    line = inFile.readLine();
    while (line != null);
    inFile.close();
    private void getMostRecent() {
         String term = "<mostrecent>";
         String eindTerm = "</mostrecent>";//Tag met mostrecent
         String vergelijkLines = lines.toLowerCase();//Hoofdletters maakt niet uit
         int plaatsTerm = vergelijkLines.indexOf(term);//plaatsen opzoeken van de tags
         int plaatsEindTerm = lines.indexOf(eindTerm);
         plaatsTerm = plaatsTerm + term.length();//Tag zelf niet meenemen
         if(plaatsTerm!=-1 &&plaatsEindTerm!=-1) {//alleen als de tags voorkomen
              lines = lines.substring(plaatsTerm,plaatsEindTerm);//tekst kopieren
         } else {
              lines="";//anders niks teruggeven
    It works fine on my computer with the sun jvm, but it doesn't seem te work if you have the microsoft vm installed. I still want to make the applet compatibel for other people. What can I do about this?

    There is a way to enable the IE Java console - try googling for instructions. There's a good chance the console displays an error message. Or if it doesn't, add debugging println's to pinpoint where something goes wrong.
    The MS JVM is old and has bugs, including security bugs. If the users of your applet are in any way important to you (such as paying customers), try to get them to dump the MS JVM. They are opening themselves up to worms and such nastiness.
    By the way, ' if (line != "")' isn't right, you need 'if (!line.equals(""))'.

Maybe you are looking for