Installed jre and jdk and setup environment  variable

installed jre and jdk and setup environment variable but still i am not able to rum program?
cannot find symbol class string
package system does not exist

if removing 1 jre will help your disk space problems
then you urgently need a bigger disk.
Btw i never notice Java installing 2 different JRE's
so i dont think it will harm remvong one, make sure
you dont delete one you are using :)I assume that you don't run MS os; that's the only one that installs 2 JRE's.
To OP: This has been discussed by Sun, but no changes have been announced. Maybe the relocation in version 1.5 of the private (aka developer) code to the Program Folder is a start of this change?

Similar Messages

  • Unable to find an installed JRE or JDK of version 1.4 or higher

    hello friends,
    i have facing an error when i tired to install JEdit setup and i hav faced this error before also but what is this error...
    *"unable to find an installed JRE or JDK of version 1.4 or higher"*
    I have installed jdk5 and i have set Environmet variables as below
    JAVA_HOME: E:\JAVA_ALL\JDK\jdk5.0
    and in path---->
    PATH: %JAVA_HOME%\bin;%JAVA_HOME%\lib\tools.jar;
    * do i need to give any thing more than this...?
    thax in Adv.
    Ajay

    http://community.jedit.org/

  • To setup environment variables in Linux like sqlplus, emctl etc

    Hi,
    how can setup environment variable like sqlplus, emctl, etc in Linux.
    what i mean is from any directory i should be able to invoke sqplus, emctl etc
    is this posisble in linux.
    THanks,
    Philip.

    Hi Hunter,
    this one worked great. this is really cool man.
    i also have a http server running for my htmldb forms/reports.
    i created a environment variable saying
    "HTTP_HOME=/home/oracle/oracle/product/10.2.0/http_1"
    i need to go to $HTTP_HOME/Apaceh/Apache/bin"
    and i give the command "./apachetcl start" for the http server to start running.
    how can i make this apachectl variable to work so that form any directoy i should be able to give "apachectl start" comand and it runs.
    Can u help me please.
    i think if i do this also i can get some more understanding.
    the command u gave worked great, but i did not understand the
    LD_LIBRARY_PATH and CLASSPATH. what are they for.
    Philip.

  • From Where should i download Servlets and how to set Environment variables?

    Hi,
    I want to download the Servlets Kit for my development of application,but couldnt find it.I found a zip file containing all class files.If that is the correct one,then how should i set my environment variables?
    thanks
    rao

    Your files should come in a folder with the name "Javax" and subfolders right?
    What you can do is to paste the file "Javax" in your folder of your JDK installation.
    For example, I have installed my JDK in C:\Java\jdk1.3
    I added one new folder in C:\Java\jdk1.3 called classes.
    Then I would put the Javax folder in classes.
    PS : We add one new folder called classes so that in future when you want to add new classes you can just into this folder.
    Then in your enviroment settings, simple point to C:\Java\jdk1.3\classes;.;
    This works for me. Hopefully you will no problems!
    jing
    170902

  • UDM and shell scripts and working with the ENVIRONMENT variable options

    In Userdefined metrics you have the ability to pass envronment variables.
    I was going to send
    DIR=/db/db05/oradata/ORCL/hot
    How to handle whats passed to the shell script?
    It passes $1 as {DIR=/db/db05/oradata/ORCL/hot}
    yes with the brackets. Here I figured it would simply set the DIR environment variable.
    Any cool tricks to work with this mess?
    Is it meant for perl scripts instead?
    Daryl.

    Ilmari Aalto wrote:
    Hi Darth,
    Thanks for your hint! Nevertheless I think it's something more profound, since there's no error etc. For example, should I have the path wrong I assume that OWB would return me some kind of an error when it doesn't find the .sh-file? Isn't there any log-file to see whether the command was executed? It seems like the execution of the User Defined element would be skipped altogether.
    Cheers,
    IlmariNo, if you don't give an absolute path OWB will not return any error, it just wont do anything at all...

  • How to setup ENVIRONMENT VARIABLES in WIN2K installation?

    Hi experts,
    I am trying to install nw04s on wink2 server, I want to know what environment variables do I need to setup?
    Also, Export cd's, there are 8 cd's, one of them exe, else are different. How would I make it working.I know in linux how to make it working not in windows
    Thanks,

    hi,
    In win2k you need to set the " system and user variable " for java
    right click on my computer->advanced->environment variables
    1>   name:   JAVA_HOME  ( this must be in capital)
         value:  c:\j2sdk1.4.2_11
    2> edit the "path"
    and ;c:\j2sdk1.4.2_11\bin
    then save.
    after this check this through
    cmd
    give the command "java -version"

  • Problem with Xalan and JDK and Tomcat

    hi all,
    i have a webapplication under Apache Tomcat 4.1.30/Linux which use an XML/XSL transformation.
    I got the following error:
    org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property!
         at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
         at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1048)
         at
    Any suggestion ?
    Cheers.
    Stefano

    Here is an anwser for you
    http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/4a9bc2a8f684237f85256e63006f9ad4?OpenDocument
    JDK 1.4 and above, I believe, is packaged with an old version of Xalan jar. So sometimes, like when trying to run XSLTC, you have to override the JDK 1.4 Xalan version with the newer Xalan.jar. Or else your newer Xalan.jar classes are not looked at. You do this by putting your Xalan.jar in the /lib/endorsed directory. or /common/endorsed in this case.
    http://xml.apache.org/xalan-j/faq.html#faq-N100CC
    Hope this helps

  • Need to check JDK and install it using Swing

    Hi,
    I need to develop a swing component where it has to automatically check in the users machine whether JDK is installed, if not it has to install the current version of JDK. Can any give some idea on how to move forward on this or any code would be helpful.
    Thanks

    Velasquez wrote:
    I need to develop a swing component where it has to automatically check in the users machine whether JDK is installed, ..Why the JDK, as opposed to a JRE?
    Also, why no [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] offered for this thread? Is it not important to you?
    Velasquez wrote:
    ..if not it has to install the current version of JDK. Can any give some idea on how to move forward on this or any code would be helpful.An earlier reply mentioned how to get the Java version for the currently running JRE. The [java.library.path, java.ext.dirs & sun.boot.class.path|http://pscode.org/prop/all.html?prop=java.library.path%2Cjava.ext.dirs%2Csun.boot.class.path]* properties might help you determine if that JRE is part of a JDK. For most developers running a Java application, that would be the case.
    * I checked those properties in an application and each one mentioned 'JDK' somewhere, but that will probably never appear in any applet.
    OTOH, I took an entirely different, and much simpler, route when developing the STBC. It is a compiler that requires the tools.jar of the JDK - which is not normally available to applets or webstart applications. Since this tool was aimed at developers, and they can get a JDK free from Sun, I simply offer them a file chooser to browse to the JDK they have already installed.
    There was another option that I considered and rejected as 'too much work'. Go to the root directory of the JRE (having got the path from properties) and then go to the parent directory. If both JDKs and JREs are installed, they should hopefully all be under the one directory tree. Then look at the file names for each directory listed, searching for jdk and the string that determines version. Very hackish, but if you can implement it, I guess it would serve for 95% of the time (though I would prompt the user about installing a new JDK and instead offer them a file chooser in case their JDK is hidden somewhere else).
    Don't be too afraid to pop a dialog to ask the user for help. After all, if the user is running the program, and it asks them to 'help it to help them', it is not as if they are going to refuse. Most developers (for example) would prefer to be asked than risk having some 'automagic' tool go off and make wrong decisions that they cannot control.

  • Updating to j2se 5, update 7 (jre and jdk) problems..

    I'm runnin win98se, and meet all the minimum requirements..Well I just installed both the jdk and the jre using the online installation. Where did the jdk go? I have no idea what folder the javac.exe file is, so I can't compile anything. Any suggestions? And will the jre be automatically update when I use java.exe command?

    I'm runnin win98se, and meet all the minimum
    requirements..Well I just installed both the jdk and
    the jre using the online installation. Where did the
    jdk go?Even Win98 SE has a file search. Plus, since Windows installs everything into "Program Files" or what it's called if not directed otherwise, I'd have a look there.
    I have no idea what folder the javac.exe file
    is, so I can't compile anything. Any suggestions?Open Explorer. Hit F3. Enter "javac.exe".
    And
    will the jre be automatically update when I use
    java.exe command?No. Why should it?

  • Environment Variables for EBS 12.1

    Hello,
    I'm trying to install the Oracle EBS 12 into my machine and i'm wondering if i need to setup environment variables in the bash_profile. If i should configure this, please tell me what are those.
    Thanks
    AJ

    Hi Aj,
    You do not have to setup any environment variables, But you have to make sue you follow all the pre-requisites befor installing R12
    Depending on you operating system please see
    761566.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64
    761564.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86
    Thanks

  • Trying to install JRE 7u7

    Hello,
    I'm trying to install JRE 7u7 x64 and am having a few problems.
    I can run the installer and its fine until it begins to install. Then an error message appears saying:
    "The feature you are trying to use is on a network resource that is unavailable."
    It is referring to "C:\Program Files\Java\jdk 1.7.0_02\\", which doesn't exist on my computer.
    It then comes up with Error 1714:
    "The older version of Java 7 Update 7 cannot be removed."
    The installer then quits.
    Because of this I cannot run any .jar files at the moment.
    Is there any way I can fix this and install a working JRE?
    I've successfully installed the JDK 7u7 x64 and u2 previously.
    I had JRE which worked OK before this but it suddenly stopped. I'm afraid I'm not sure whether it was 7u2 or version 6.
    Thanks for any help.

    Hi Varun,
    I am using Safari. 
    I go to the Adobe web site, then download the latest Flash Player for Mac/Safari.
    The file below appears in my Download File. 
    I am then unable to open the download and proceed.  I get no error message.
    Thanks,
    Steve

  • Environment variables for Java

    Hi,
    I installed jdk1.6.0_02 from Sun, and set the following environment variables:
    export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:*/home/username/jdk1.6.0_02/bin*
    export LD_LIBRARY_PATH=/home/username/jdk1.6.0_02/lib
    export JAVA_HOME=/home/username/jdk1.6.0_0
    I issue the following commands:
    which javac
    */home/username/jdk1.6.0_02/bin/javac*
    which java
    */usr/bin/java*
    why is it referring to */usr/bin/java* instead of */home/username/jdk1.6.0_02/bin/java*
    How can I solve this problem under Ubuntu 8.04.
    Thank you in advance,
    --Blaise
    Edited by: Blaize on Jul 19, 2008 5:49 AM

    Blaize wrote:
    Ok */ust/bin* is needed in the PATH. Why it affected java but not javac then?
    Provide an instructive solution or an instructive comment if you have.I should have thought it would have been fairly obvious that it was because javac was not in /usr/bin (and that it would have been just as easy to be certain, i.e. type "ls /usr/bin/javac"), but I guess not.
    I also would have thought, that it should be fairly obvious that a search path will always be read in a specific order (after all that is one of the reasons to have one, so that command searches aren't random), and, extrapolating from there, that it should be fairly obvious, considering the problem observed, that that search order was from left to right, but again, I guess not.
    Use your head for something other than a paper weight, and maybe you wouldn't need to become either defensive or aggresive, but, once again, that must be something that's beyond you.
    Learn how to type "How to configure path environment variable" into Google, and maybe the same would apply, but, once again, that is probably something that's beyond you.

  • ORA-07217: sltln: environment variable cannot be evaluated.

    hi team
    when try to login my sqlplus i get this error
    and i suspect it environment variable
    how do i set environment in hp-ux 11

    The easiest way to set the environment is using "oraenv" which uses details in the oratab file.
    e.g
    . oraenv
    ORACLE_SID = [mydb] ? mydb
    The Oracle base for ORACLE_HOME=/opt/oracle/product/10.2.0/db_2 is /opt/oracle/product
    $ echo $ORACLE_HOME
    /opt/oracle/product/10.2.0/db_2
    $ echo $ORACLE_SID
    mydb
    $ echo $PATH
    /usr/local/bin:.:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:.:/opt/freeware:/opt/oracle/product/10.2.0/agent10g_ddc/agent10g/jdk/bin:/opt/oracle/product/10.2.0/db_2/bin:/opt/oracle/product/10.2.0/db_2/OPatch

  • Sltln environment variable trouble

    I've gone through the process of installing 8.1.7 on RedHat 7. I've created a new database, but I can't seem to start the instance.
    I had the usual glibc problems when I installed, so there was no starter database. I corrected the glibc problems (thanks Smiley) and created a new database using the DB Assistant.
    Using svrmgrl, I CONNECT INTERNAL and run the STARTUP command. I get back the following message:
    ORA-071217: sltln: environment variable cannot be evaluated.
    Any help would be appreciated.
    C.V.

    I followed the install instructions and set all the environment variables it recommended. There is no SLTLN environment variable listed in the install instructions. Is "sltln" the name of the process that is trying to read the environment variable or the variable itself.
    Help!
    Thx,
    CV
    null

  • Environment variables (user) created at OS level dont show up in BIDS 2008

    Environment variables (user) created at OS level don't show up in BIDS 2008.
    I had a variable ConfigLocation created and it is not showing up when I am trying to configure it in BIDS
    Is this a known issue or a bug?
    Now in BIDS it doesnt show up
    Mudassar

    Yes it shows up after restart of BIDS .
    But during design time this is a bug I hope Microsoft fixes this bug in the future releases
    Mudassar
    It's not really a bug. Visual Studio loads the environment variables when starting up.
    In future releases you use projects and parameters instead of environment variables, so the issue goes away ;)
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

Maybe you are looking for

  • Best practice - material staging for production order

    Hi Experts, could any of You pls, support me with some hints of best practice how to handle material staging WM-PP interface in a certain case? Up till now we had a system, where production had no separate location in IM, but one location existed inc

  • Update Payment Terms

    Hi all. I'm currently trying to bulk update all my suppliers to have one of the check boxes in payment terms set to active. I see that this checkbox is a variable in SAP. Is there any way to bulk update this field? I'm thinking maybe DTW would be the

  • Firefox setup file keeps coming up on screen

    whenever i open firefox the popup you have chosen to open FIREFOX SETUP 3.6.11.EXE which is a binary file from hhtp://ftp.halifax.rathaachen.de would you like to save this file? save or cancel. no matter what i do it just keeps coming back up on open

  • Animations Won't work

    I made a digital portfolio and it has external flash animations in it. When i view it on my computer (as either a .swf or a mac app) it works just fine. But when I put them on a CD (to give out my portfolio?) the animations will not work. Why is this

  • 610_b038_m​ultilangua​ge will only install in German (English Req)

    I have downloaded above file and saved it to my desk top. When I run it it installs to German and provides no choice for UK. I have check my internet language and my computer location, language and keyboard settings.... All to English. I guess that t