Enviroment variables!

I have the java card kit 2_2_01. I have set the enviroment variables(at least i think so, i just did what the pdf says) and when I am trying to emulate one of the samples included,the message in the dos-prompt enviroment says
Out of enviroment space.
Exception in thread "main" java.lang.NoClassDefFoundError: apdutool/bat
Generally it does that in every tool that I am trying to use. Thank you in advance for your interest!

How is your environment set up ?
The JRE is interpeting apdutool.bat, to apdutool/bat !
Don't put apdutool.bat in your CLASSPATH. Just add the javacard \bin to your PATH. CLASSPATH is for Java ONLY, PATH is for Windows system environment

Similar Messages

  • How to get current directory and enviroment variables

    Hello, 
       1.- Is there a global variable to get the actual (project, where is DSB and DSQ files) directory? 
       2.- Is there a way to get User directory like reading enviroment variables from Operative System? 
    Thanks in advance.
    PD: I'm using Dasylab12
    Solved!
    Go to Solution.

    Yes, use System Strings
    For example, ${DATA_FOLDER}.
    The easiest way to get the list is to right click and select Global Strings. The bottom half of the dialog box lists system strings, including date, time, the name of the worksheet, with or without path, the DEFAULT folders for worksheet, data, other, black box, etc. 
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • How to use enviroment variables in JSP code?

    I�m developing a web server with JSP�s, and I need to move the application to others computers. I need to access to a directory, but I don�t know it because the user can install the Application in the directory he wants. So I need to access to that directory in the JSP code.
    The directory is "C:\Program Files\....\tomcat\webapps\ROOT\upload". I have the CATALINA_HOME enviroment variable defiened as "C:\Program Files\....\tomcat\", so I need to use something like "CATALINAHOME\\webapps\upload\", but I don�t know how to mekr the JSP code to understand the enviroment variable CATALINA_HOME.
    I�ve tried with %CATALINA_HOME%, but the Tomcat server doesn�t recognize it. How can I access to that directory?
    Thanks (Sorry about my english)

    My JSP�s are in: %CATALINA_HOME%\webapps\ROOT\
    I wan�t to access to %CATALINA_HOME%\webapps\ROOT\upload\
    My JSP code:
    <% ...
    String DPATH = "C:\\Program Files\\JBuilder7\\jakarta-tomcat-4.0.3\\webapps\\ROOT\\upload\\";
    File newfile = null;
    newfile = new File(DPATH+filename);
    %>
    I want the JSP to locate the directory \webapps\ROOT\upload\ without knowing the complete route "c:\Program Files\...", because I have the enviroment variable CATALINA_HOME with the value "C:\Program Files\JBuilder7\jakarta-tomcat-4.0.3\". SO the user of the aplication only has to set the CATALINA_HOME variable and the aplication should access the upload directory throught the CATALINA_HOME variable.
    I can�t explain it better. Sorry.

  • How to set enviroment variables for Inso Filter

    Hi everyone,
    I want to convert word documents to html using CTX_DOC.Filter.According to the documentation,I know I neednot set the 'Inso Filter'in the preference when creating index,but I must set enviroment variables for Inso Filter.
    I found the following instructions for it in the 8.1.5 documentation,but I can't understand it well.Is there anyone can tell me how to set enviroments variables for Inso Filter on Windows2000 Server?(My DB version is 8.1.7EE)
    Environment Variable Locations
    All environment variables related to Inso filtering must made visible to interMedia Text. Set these variables in the following locations:
    listener.ora file. This makes the environment variables visible to the extproc PL/SQL process.
    The operating system shell from where ctxsrv server is started. This makes the environment variables visible to the ctxsrv process, which does background DML.
    Any suggestions are apreciated
    Reemon
    null

    NSAPI plugins are normally configured using parameters specified in magnus.conf and/or obj.conf. What plugin requires you set an environment variable?

  • How to use enviroment variables?

    I�m developing a web server with JSP�s, and I need to move the application to others computers. I need to access to a directory, but I don�t know it because the user can install the Application in the directory he wants. So I need to access to that directory in the JSP code.
    The directory is "C:\Program Files\....\tomcat\webapps\ROOT\upload". I have the CATALINA_HOME enviroment variable defiened as "C:\Program Files\....\tomcat\", so I need to use something like "CATALINAHOME\\webapps\upload\", but I don�t know how to mekr the JSP code to understand the enviroment variable CATALINA_HOME.
    I�ve tried with %CATALINA_HOME%, but the Tomcat server doesn�t recognize it. How can I access to that directory?
    Thanks (Sorry about my english)

    Try:
    System.getProperty("catalina.home");This is not the enviroment variable, but it's set by the catalina.bat file when starting java with the option -Dcatalina.home=%CATALINA_HOME%

  • Enviroment Variable settings

    Hello
          How to set the Environment Variable parameter settings done ?
          I want to install ECC - 6 in windows Xp professionel ,
          Kindly send me to how to set Enviroment Variables before starting installation .
    Regards
    Selvan

    Hi Selvan,
    I had already replied to your qurery in another thread
    could u let me know wat further information u require
    Sundar

  • How to set Enviroment Variable

    HI,
    I am using JDK 1.3.
    I want to know how should i set any new enviroment variable by using JAVA program with out any command line argument.

    Try asking the question again, and explain better - not understood.

  • Enviroment Variables Win XP

    Hello,
    I'm using many enviroment variables in Win XP but I get some errors.
    After many tryes I notice that I MUST use them in order. I mean :
    AXIS_PATH=C:\AXIS
    CLASSPATH=%AXIS_PATH%\axis.jar;
    JAXB_PATH=C:\JAXB
    works without problem.
    But this NOT works
    AXIS_PATH=C:\AXIS
    CLASSPATH=%AXIS_PATH%\axis.jar;%JAXB_PATH%\jaxb.jar
    JAXB_PATH=C:\JAXB
    because (I think) JAXB_PATH is after CLASSPATH.
    If I use echo %CLASSPATH% I get:
    C:\AXIS\axis.jar;%JAXB_PATH%\jaxb.jar
    How can I solve that ?
    I can put them in order as in my first example but I must change their name and I don't want.
    Thanks,
    Catalin

    Solved.
    ThanksGeneral posting etiquette is to describe here how you solved it.
    This is meant to be a sharing forum - any knowledge that you can impart here to others is gratefully accepted. When you pose a question, even if you get the answer from outside, it's considered a good thing to post the answer here, so that people who come later and search the forums for solutions to the same problem can find the answer.

  • BEA_HOME enviroment variable: what is it?

    Could someone explain for me what I am suposed to fill in BEA_HOME to be able to harvast from Eclipse to OER? I am trying to follow this blog "http://brajeshde.blogspot.com.br/2012/01/my-first-experience-of-osb11gr1ps2.html" and I have no idea what is the purpose of BEA_HOME? Should I point to weblogic home?

    What is the corect setting to be point by BEA_HOME enviroment variable?
    My filesystem is:
    C:\Oracle\Middleware>dir
    01/11/2012 10:44 <DIR> coherence_3.7
    29/11/2012 18:06 603 domain-registry.xml
    01/11/2012 15:22 <DIR> JDev11g
    01/11/2012 10:44 <DIR> jdk160_29
    14/12/2012 16:57 <DIR> logs
    29/11/2012 15:58 <DIR> modules
    01/11/2012 10:44 625 ocm.rsp
    14/12/2012 13:55 <DIR> oepe_11.1.1.8.0
    01/11/2012 14:13 <DIR> oracle_common
    01/11/2012 14:14 <DIR> Oracle_OSB1
    01/11/2012 14:07 <DIR> Oracle_SOA1
    29/11/2012 15:59 137.285 registry.dat
    29/11/2012 15:59 3.665 registry.xml
    22/11/2012 11:54 <DIR> registry111
    29/11/2012 15:59 <DIR> repository111
    01/11/2012 14:29 <DIR> user_projects
    01/11/2012 10:40 <DIR> utils
    01/11/2012 14:14 <DIR> wlserver_10.3
    4 File(s) 142.178 bytes
    16 Dir(s) 144.914.165.760 bytes free
    While reading OER Guide, I read that I should point to my OSB HOme which in my case is C:\Oracle\Middleware\Oracle_OSB1. Other blog tells me that I should point to WebLogic home which in my case is C:\Oracle\Middleware\wlserver_10.3. And even other blog tell to point to the home where is all my Oracle tolls which in my case should be C:\Oracle\Middleware. What is the purpose to set this system variable? I can run weblogic, OSB and OER without that. The only reason I setted BEA_HOME was to use harvester and untill now, apparently there are no diference what the path I set the variable with.

  • How to set up new enviroment variables permanently for all users?

    Hi.
    I downloadad Apache Tomcat, and need to set enviromental variables for all users.
    I tryed setenv commad, but it is not found.
    for example # JAVA_HOME="/opt/jre1.6.0" Solaris remembers this variable only for one session and I need for all users permanently.
    Thanks.

    Thank you.
    This file contains a script. Is there difference in putting that line in beginning or end of the file?
    #ident     "@(#)profile     1.19     01/03/13 SMI"     /* SVr4.0 1.3     */
    # The profile that all logins get before using their own .profile.
    trap ""  2 3
    export LOGNAME PATH
    if [ "$TERM" = "" ]
    then
         if /bin/i386
         then
              TERM=sun-color
         else
              TERM=sun
         fi
         export TERM
    fi
    #     Login and -su shells get /etc/profile services.
    #     -rsh is given its environment in its .profile.
    case "$0" in
    -sh | -ksh | -jsh | -bash)
         if [ ! -f .hushlogin ]
         then
              /usr/sbin/quota
              #     Allow the user to break the Message-Of-The-Day only.
              trap "trap '' 2"  2
              /bin/cat -s /etc/motd
              trap "" 2
              /bin/mail -E
              case $? in
              0)
                   echo "You have new mail."
              2)
                   echo "You have mail."
              esac
         fi
    esac
    umask 022
    trap  2 3
    # Intel Server Control - The following lines
    # let the LRA daemon access the X server
    if [ -f /usr/bin/X11/xhost -a -f //isc/lra ]
    then
         ttyname=`tty`
         ttyname=`basename $ttyname`
         ttykind=`tty | egrep "console|vt"`
         whereami=`finger -s | grep $ttyname | cut -c61-`
         if [ "$whereami" = "" -a "$ttykind" = ""  ]
         then
              CURDIS=$DISPLAY
              DISPLAY=unix:0.0
              export DISPLAY
              /usr/X/bin/xhost +unknown 2>/dev/null 1>/dev/null
              DISPLAY=$CURDIS
         fi
    fi

  • Error with JAVA_HOME enviro variable

    I'm running win2k Pro. I installed first j2sdk1.4.1 and then tomcat 4.1.12 on my e:\. When I click START TOMCAT i recieve the error in a dialog box:
    Cannot find the file '-Djava.endorsed.dirs='(or one of its components). Make sure the path and filename are correct and that all required libraries are available
    Also in the command prompt it describes the error as:
    The JAVA_HOME environment variable is not defined
    This environment variable is need to run this program
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME:
    I've set my environment variables as the following
    JAVA_HOME - e:\j2sdk1.4.1
    CATALINA_HOME - e:\Tomcat
    CLASSPATH - e:\Tomcat\common\lib\servlet.jar
    PATH - c:\WINNT;c:\WINNT\SYSTEM32\cmd;e:\j2sdk1.4.1

    I have exactly the same problem with the environment variables.
    I am running Win Me;
    I have all the environment variables set in AUTOEXEC.BAT, including the PATH ; but after many tests I am convinced that autoexec.bat is not being run at all;
    I tried adding an auto batch command file to be run every time a dos box was opened but while that runs ok it still leaves the problem outstanding;
    ie startup wont run through, claiming that the environment variables are not set:
    This is what I have set in autoexec.bat
    set PATH=C:\Java\j2sdk1.4.1_02\bin;C:\orawin95\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
    SET JAVA_HOME="C:\Java"
    SET CATALINA_HOME="C:\Tomcat\jakarta-tomcat-4.1.24"
    ANy help/advice appreciated

  • How to access enviroment variables on 10.1.2.3??

    We would like to add and access the environment variables from jsp/java, does anyone know how to do so? We have added them to the server in the env var section, but are unable to access any of them?! Help!

    Tried that. Throws a genEnv is deprecated error. It does however work on 10.1.3. (which is frustrating) I switched it to use the java.util.Properties p = System.getProperties(); But it doesn't show up in that list either.

  • Enviroment variable for IDES 4.7

    Hi,
    I m facing a problem during the last steps of <b>IDES 4.7 on Oracle DB</b> installation: The setup failed to read the HOME environment variable. When I check the OS (<b>Win XP</b>) I did not find it, please can you give me the value of the variable then I can add it manually.
    It ll be great if you give me even the other environment variable.
    Kind regards,
    Fred,

    Hi Subhash,
    Here the error I got:
    TRACE[E]   [syxxccuren.hpp:188]CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable SAPDATA_HOME.
    TRACE[E]   [syxxccuren.hpp:188]CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable SAPEXE.
    TRACE[E]   [syxxccuren.hpp:188]CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable SAPSYSTEMNAME.
    TRACE[E]   [syxxccuren.hpp:188]
    CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable HOME.
    The first ones I found tem except HOME variable!
    But it s still stage error because at least should be ok for SAPDATA_HOME, SAPEXE.... cause I have them in my OS.
    Kind regards,
    Fred,

  • Setting DISPLAY enviroment variable

    Hi,
    I want to run oracle wallet manager from my windows client. My application server is installed on the SUSE Linux Enterprise Server 9. I have given the following command to set the DISPLAY variable.
    export DISPLAY=192.168.100.159:0.
    Here is the output of the same. It gives some java exception error.
    Can anyone help me in setting the variable so that I can open wallet manager.
    Regards
    Trusha
    oracle@orclasg:~/OraBi/bin> export ORACLE_HOME=/opt/oracle/OraBi/
    oracle@orclasg:~/OraBi/bin> ./owm
    ****DISPLAY environment variable not set!
    Oracel Wallet Manager is a GUI tool which
    requires that DISPLAY specify a location
    where GUI tools can display.
    Set and export DISPLAY, then re-run.
    oracle@orclasg:~/OraBi/bin> export DISPLAY=192.168.100.159:0
    oracle@orclasg:~/OraBi/bin> ./owm
    Exiting
    java.lang.NullPointerException
    at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
    at oracle.sysman.emSDK.client.appContainer.WebApplication.<init>(Unknown
    Source)
    at oracle.security.admin.wltmgr.owma.OwmaApp.<init>(OwmaApp.java:109)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at oracle.sysman.emSDK.client.appContainer.WebApplication.main(Unknown S
    ource)
    Done.
    oracle@orclasg:~/OraBi/bin> export DISPLAY=192.168.100.159:0
    oracle@orclasg:~/OraBi/bin> ./owm
    Exiting
    java.lang.NullPointerException
    at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
    at oracle.sysman.emSDK.client.appContainer.WebApplication.<init>(Unknown
    Source)
    at oracle.security.admin.wltmgr.owma.OwmaApp.<init>(OwmaApp.java:109)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at oracle.sysman.emSDK.client.appContainer.WebApplication.main(Unknown S
    ource)
    Done.

    And what did you configure at the side of 192.168.100.159 which is supposed to be your client?
    I suggest you run VNC server on the server side ('vncserver') and set $DISPLAY to that. Next, use VNC viewer on your client machine to connect to the VNC server.
    Unless you have an X server running on your client machine of course.

  • Enviroment variables after upgrade 10gR2 to 11gR2 grid

    Hello,
    Oracle teaches us (for example, in appendix F "How to Upgrade to Oracle Grid Infrastructure 11g Release 2") that before upgrade you must unset such variables like ORACLE_BASE, ORACLE_HOME, ORACLE_SID etc. So, I did it, upgrade from 10gR2 clusterware to 11gR2 grid was succesful. Now I couldn't find any info, must I restore back these variables, or what must to do with them. For example I couldn't run anything from the new grid home ("command not found"), because CRS_HOME was unset, must I just add new grid home to PATH ?

    Execute the below command at OS level and verify from which home is the crsctl utility is being called
    which crsctl
    Ensure that the above command is being called from the correct home
    If the path from which crsctl utility is being called is the correct one, then perform starce on the crsctl command and verify the starce output to check if it truly is using 10g binaries or not
    If not, then try unlocking and locking the GI binaries using "rootcrs.pl -unlock" (to unlock) and "rootcrs.pl -patch" (to lock the binaries), once done verify if you are still getting the same issue or not
    Regards,
    Vandana - Oracle

Maybe you are looking for