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
Similar Messages
-
Can i use microsoft office on my macbook pro and from where should i download it?
can i use microsoft office on my macbook pro and from where should i download it?
I don't use Office myself so can't really offer advice. I don't recall seeing your issue before. Maybe someone who uses Office will be able to help.
As this thread is marked as solved it won't get the attention your query warrants. It would be a good idea to start your own thread discussing the problem - I'm sure someone here will offer the right advice/help.
Make sure you note what Mac your have and what version of OS X you are running. -
Mountain Lion is downloading, how can I tell where it is downloading to and how much has downloaded?
In the "purchases" tab in the App Store you'll see a progress report.
Also once it completes downloading the installer will auto-launch.
Once you get Mountain Lion installed, if you have the Downloads folder in your dock you will get a progress indicator in the dock while it's downloading :-) -
How can I work with my adobe Lightroom Version 5 which was added to my Samsung NX3000. If I want to load an .SRW File it is not possible, only the .JPG File. How and from where can I the Module and how is it to install ?
You need Lightroom 5.5 or later (the most current version is 5.7.1). This is a free update if you have already purchased an earlier version of Lightroom 5.
Product updates -
How to set environment variable ORACLE_HOME ?
Hi
I trying to install SAP Solution manager 4.0 SR3:
OS: Linux RHEL4u4
DB: Oracle
SAPinst now stops the installation.
To proceed with the installation, install the Oracle database as follows:
1.Log in as user orassm.
2.Set the DISPLAY variable.
3.Change to directory /oracle/stage/102_32/database/SAP.
4.Start './RUNINSTALLER'.
After you installed the Oracle database software, proceed with the database instance
installation by choosing 'OK' in this dialog box.
./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
How to set environment variable ORACLE_HOME ?
Regards
Erici
Switch shell to bash:
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/bash
[root@csp-p-sm00 ~]# su - orassm
[orassm@csp-p-sm00 ~]$
But when try to run ./RUNINSTALL
[orassm@csp-p-sm00 SAP]$ ./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
Additionaly I've post csh.cshrc and csh.login
/etc/cshrc
csh configuration for all shell invocations.
by default, we want this to get set.
Even for non-interactive, non-login shells.
[ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
if $status then
umask 022
else
umask 002
endif
if ($?prompt) then
if ($?tcsh) then
set prompt='[%n@%m %c]$ '
else
set prompt=\[`id -nu`@`hostname -s`\]\$\
endif
endif
if ( $?tcsh ) then
bindkey "^[[3~" delete-char
endif
setenv MAIL "/var/spool/mail/$USER"
limit coredumpsize 0
if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
source $i
endif
end
unset i nonomatch
endif
/etc/csh.login
System wide environment and startup programs, for login setup
if ($?PATH) then
if ( "$" !~ /usr/X11R6/bin ) then
setenv PATH "$:/usr/X11R6/bin"
endif
else
if ( $uid == 0 ) then
setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
else
setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
endif
endif
setenv HOSTNAME `/bin/hostname`
set history=1000
if ( ! -f $HOME/.inputrc ) then
setenv INPUTRC /etc/inputrc
endif
Regards
Eric -
How to set environment variables in WL ?
Hi,
How to set environment variables in WL ?
Thanks,
SriviHi,
You can set the environmet variable in Weblogic by using the below commands
setWLSEnv.cmd/sh ==>Set the CLASSPATH to include the WebLogic Server classes.
Overview of WebLogic Server Domains
or you can use to set the Environment variable along with domain specific varables using the SetDomainEnv.cmd
To run SetDomainEnv.sh in Linux please use
. ./setDomainEnv.sh it require two dots (Dont miss it )
http://docs.oracle.com/cd/E28280_01/web.1111/e13749/weblogicserver.htm#ADMRF205
Hope it helps -
How to set environment variables using java program
Hi all
I want to set environment variables on windows 98/200/xp system, such as path and classpath using a java program.
How to do this using a java program.
Any body plz helppppppppp.#1 05-02-2003, 07:38 AM
Goodz13 Join Date: Jan 2002, Posts: 985
Location: Halifax, NS, Canada
Reputation:
Java FAQ's and tutorials
Java FAQ's
Path and ClassPath:
PATH
In Windows 9x you would set it up in the autoexec.bat file
ie.
SET PATH=%PATH%;c:\jdk1.4.2\bin\;
where c:\jdk1.4.2\ is the path where you installed Java.
In Windows 2000 and XP
Right click on My Computer->Properties->Advanced Tab->Environment Variables... Button.
If you see a PATH in System Variables, click that and edit it. If you don't, you will need to create a new System variable.
It should look something like this:
%SystemRoot%\system32;%SystemRoot%;c:\jdk1.4.2\bin\;
Any querry email me to [email protected]
Answer by
Rajasekhar Goli
DS UNICS Infotech -
How to set environment variables permanetly?
I have installed oracle apps R12 on Oracle Enterprise Linux 5.3 successfully. When i run the file APPS<context_name>.env as oracle user(the one who installed software), the variables are set,,,but when i logout and login again,,,,,i dont see $ORACLE_HOME, $APPL_TOP etc......so please can someone tell me how to set the variables permanently..
thanksHi,
set the env file in profile of unix user.
if your shell is bash shell, then edit the user .bash_profile with env file. If your's is bourn shell, edit the user .profile
for example,
i have PROD as the database SID
/oraprod and /applprod are the base mount points of database and application tiers respectively.
erpserver is the hostname of R12 (single node)
(1) Database Tier:
login as oracle user
$vi .bash_profile
. /oraprod/db/tech_st/10.2.0/PROD_erpserver.env
save the file
(2) Application Tier:
login as applmgr user
$vi .bash_profile
. /applprod/apps/apps_st/appl/APPSPROD_erpserver.env
save the file
------ -
I installed j2sdk in my system.....
i want to know how to set env variables...?Which ones, what for? Did you check whether some are already set?
Forget about the classpath variable, if you want to add that. Use the command-line arguments.
And which OS? -
How to set environment variable?
Hi,
I just succeeded starting up an external executable by using nativeprocess.
Now I have to set the portnumber as an environment variable.
After setting this portnumber, I can send queries to the executable.
But I don't now how to set this environment variable.
You can see my try in bold:
Starting the executable (an extract of the code):
public var portnumber;
file = file.resolvePath("C:\\Program Files\\CM Synergy 6.3\\bin\\start_dbase.exe"); #start executable
process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, getportnumber); #get portnumber as output of the executable
The next step is to define the variable portnumber:
file = file.resolvePath("C:\\WINDOWS\\system32\\cmd.exe");
processArgs[0] = "/C";
processArgs[1] = "set";
processArgs[2] = "portnumber=";
processArgs[3] = portnumber;
When I try to print out all environment variables, portnumber is not in:
file = file.resolvePath("C:\\WINDOWS\\system32\\cmd.exe");
processArgs[0] = "/C";
processArgs[1] = "set";
If I replace the last executable with my real command (running the query), the executable is giving the error that my portnumber is not set.
Is it possible? I have also tried it with setx.exe. Even running a python script where I set os.environ is not working.
I have the feeling that the command is executed but that the variable is not remembered for the next executable.Hello Martin,
Thanks for your input. I have tried what you suggested but it didn't work. I will post my source code. Perhaps I'm doing something wrong. After setting my variable portnumber, I would normally run a query. Instead of running the query, I'm writing out the environment variables. Unfortunately, portnumber is not in the list . I also tried using "setx" insetad of "cmd.exe set" but without any difference.
public var portnumber;
public function run_query():void
var file:File = new File("C:/WINDOWS/System32/cmd.exe");
var si:NativeProcessStartupInfo = new NativeProcessStartupInfo();
si.executable = file;
var processArgs:Vector.<String> = new Vector.<String>();
processArgs[0] = "/C";
processArgs[1] = "set";
nativeProcessStartupInfo.arguments = processArgs;
var process:NativeProcess = new NativeProcess();
process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
process.start(si);
public function set_portnumber():void
var file:File = new File("C:/WINDOWS/System32/cmd.exe");
var si:NativeProcessStartupInfo = new NativeProcessStartupInfo();
si.executable = file;
var process:NativeProcess = new NativeProcess();
process.start(si);
process.standardInput.writeUTF("set portnumber="+portnumber+"\n")
setTimeout(run_query, 1000);
public function onOutputData(event:ProgressEvent):void
var process:NativeProcess = event.target as NativeProcess;
textReceived.text += process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable) + "\n"; -
How to set environment variables for Tomcat on mac osx 10.8.5
How do I set up my environment variables - JAVA_HOME and CATALINA_HOME on my iMac running mac osx 10.8.5?
You need to create a setenv.sh script in the tomcat bin directory. The link is an example that you will need adjust- http://www.unidata.ucar.edu/software/thredds/current/tds/tds4.2/tutorial/Getting Started.html
-
How to set environment variables in mac mavericks for all users
Can someone here tell me the file to set JAVA_HOME environment variable for all users?
Thanks!nara999999,
the file in which to set the environment variable depends upon the login shell of each user. Presuming that every user has bash as his login shell, and that the environment variable will be needed only in interactive shells, then the file to edit will be /etc/bashrc; if the environment variable will also be needed in non-interactive shells, then /etc/profile should be edited instead (and this will also cover users with either sh or zsh as their login shell). If ksh is used as a login shell, then /etc/ksh.kshrc will need to be edited. If csh or tcsh is used as a login shell, then /etc/csh.login will need to be edited. -
How to Set Environment Variables in Windows
Hi Guys,
You know that we can retrieve the environment variables using System.getProperty("JAVA_HOME"); like this. It is easy.
Can anyone tell me how to create an environment variable using System class or is there any alternate java API to create environment variable. Please let me know.
My requirement is that I want to create the environment variable as follows
DEV_HOME
D:/Java/DEVAre you talking about Java System properties (get and set through System.get/setProperty) or Environment Variables (read-only, get through System.getenv)?
You can set the former, not the latter (unless you start a new process through Runtime.exec(), for which you can specify a custom environment. -
How to set environment variables in JavaCAPS6 app server?
In JavaCAPS6 you can have variables in wsdls of the form {$var}.
How are the values of these set in the app server configuration?
RupertHi,
You can set the environmet variable in Weblogic by using the below commands
setWLSEnv.cmd/sh ==>Set the CLASSPATH to include the WebLogic Server classes.
Overview of WebLogic Server Domains
or you can use to set the Environment variable along with domain specific varables using the SetDomainEnv.cmd
To run SetDomainEnv.sh in Linux please use
. ./setDomainEnv.sh it require two dots (Dont miss it )
http://docs.oracle.com/cd/E28280_01/web.1111/e13749/weblogicserver.htm#ADMRF205
Hope it helps -
HT204053 So where is the download link and how do I create and account
How does this work. I can't find a download link anywhere for iCloud for the mac. What is the deal?
iCloud isn't a program, it's an online service, and there is no download. You sign into it in System Preferences (or Settingds)>iCloud - however the minimum requirement is Lion 10.7.5 on a Mac or iOS5 on an iPhone or iPad. If you have earlier systems than that you will need to upgrade.
According to your signature you have iOS6 so you're good to go. You have an Apple ID which you are using here; so just go to Settings>iCloud and sign in with your ID. Enable Mail, Calendars, Contacts etc as required in that preference page. You will be asked to create an @icloud.com address.
If your Mac has an earlier system than 10.7.5 it won't be able to joing the party until you upgrade. The following information applies in that event:
To make full use of iCloud you will have to upgrade your Mac to Lion or Mountain Lion, provided it meets the requirements.
The requirements for Lion are:
Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
2GB of memory
OS X v10.6.6 or later (v10.6.8 recommended)
7GB of available space
To purchase it you will have to ring Apple at the number given at the bottom left of this page.
The requirements for Mountain Lion are listed here:
http://www.apple.com/osx/specs/
It is available from the Mac App Store (in Applications). (If you are currently pre-Snow Leopard you will have to upgrade to that to access the Mac App Store: it's available in the online Apple Store.)
You should be aware that PPC programs (such as AppleWorks) will not run on Lion or above; and some other applications may not be compatible - there is a useful compatibility checklist at http://roaringapps.com/apps:table
Maybe you are looking for
-
iPhoto 9.5.1 iOS 8.0.2 Mac Mavericks 10.9.5 Using iTunes, when I sync my selected iPhoto albums (on the Mac) to my iPhone and iPad, new photos added to those albums on my Mac are no longer added to the albums on those devices, but rather are orphaned
-
Generation of xml document of rows in table.
hi.. i want to generate xml document for one table.....i want all records from that table to xml... thank u sam
-
Hi, We have both the APS and OPM applications on the same instance. We have run data pull program. The required data such as organizations, items & formulas are coming into APS. But, item forecasts entered in Forecasting form of OPM Process Planning
-
Illustrator Resizes on File Open
This is a silly little issue, but it really bugs me! Whenever I open a file in Illustrator via double-clicking the file in Windows Explorer, Illustrator resizes its main window, as if I've hit the "Restore Down" button in the upper right corner. I th
-
Feature Request - Do not unlock automatically when removing from Holster
Currently, when the device placed into a BlackBerry OEM holster and then removed, it will automatically unlock the screen unless you have a password set, in which case you'll be prompted for the password instead. I would like to see an option added t