Configuring the PATH for jdk1.3.1_01 in WindowsXP
I need help in configuring the autoexec.bat file for jdk1.3.1_01 . I am running on WindowsXP. (I used to have win 98 on my old pc that crashed and had jdk1.2.1 and working just fine) Now I have a new pc and have tried the following:
windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.3.1_01\bin
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
When I type in C:\path ...it does not show the path I entered. I have no clue what I am doing and the instructions I printed out from sun just do not help me out at all. I really need to get this working so I can continue learning. If anyone can please straighten me out on this I would really appreciate it. Feel free to email me at [email protected]
Thanks Reba
Your PATH appears to be correct. However, to verify your PATH you should be able to type the following:
c:\>echo %PATH%
This will display your PATH setting on the console. In addition, you can verify that your PATH setting is correct by typing:
c:\>java -version
If your path is set correctly, you should see something like:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
If, instead, you get something like:
"Bad command or file name"
Then your PATH is not configured correctly.
Hope this helps.
Similar Messages
-
Load the path for properties files
Hi;
My application uses of the properties files which are stored in a repertory /properties at the same level that JAR.
I search an good means to configure the path of the files properties: for example: a environment variable or another mean?
My application will read from this env variable (or another means) the path where are stored the files to use them.
Regards;If the properties file is fixed, then it's best to make it a resource as suggested and put it inside the jar.
OTOH if you have a situation where the properties file is dependant on installation or even writable then that won't do.
In a lot of cases where the properties are variable it's better to use the Preferences class, on Windows this will put the data in the registry.
You can use a command line argument, of course, to specify the location of your configuration file. I tend to use java System.getProperty and -D command line switches. That has the advantage that you don't have to send the value down from main() to where you are using it. -
Fixing the path for images in RoboHelp 8
I am rather new to Robohelp, so please forgive me if this has been addressed in another dicussion...I have been searching and cannot seem to find what I am looking to describe.
I am working in Robohelp 8, and creating a new help system by importing topics from a previous help system. The problem I am running into and I cannot see how to fix is that there are a couple of topics that have images where instead of the path for the image directed to a folder called "Images" in the main directory, it dumps the graphic into the project manager window when I import the topic. I tried viewing topics that don't have their images on the main project manager window, and comparing against the one that does, and I cannot see the difference. I have tried renaming the images and placing in the correct folders, and then inserting the images into the topics, but it still tries to look at the main folder and still dumps the image into the project manager.
Any help you can provide please share.I am going to say yes (because it sounds like what I am trying to get at, but not sure).....I have tried deleting the images, and recreating, and then re-inserting into the topic, and they still go to the root of project. As I am going along, I am finding more and more.....so far there are 20 images that are doing this. However, I also just did what you mentioned and dragged it and put it under the topic. But I am still confused as to why I would need to do this for some topics and for other topics the images don't appear at all (meaning they don't show under topics or root of project), they are just linked through the folder on the main directory. Does this image help more?
Left of picture above: The folder directory has a folder called Images, and this is where all of the images were stored and are stored for the new project.
Middle of picture above: The topic Horizontal Command had an image in it "image20.gif", and it was at the root directory and as you suggested I moved to the topic. Also see the topic circled Expand and Collapse Folders topic has the image circled at the left within it.
What I am trying to understand is why would the graphic from the Horizontal command topic dump into the root of the project, while the image from the Expand and Collapse Folders topic not show on the root project or even within the topic listed. (Which is what I prefer for all topics). -
How to update the path for a field which is of type textarea
Hi,
1.I have multiple record block,i need to update the textarea field in this multi entry block.I have put a for loop to achieve the same,however i'm able to update the path for text field,checkbox,selecttype,but am unable to update the path for field which is of textarea.Please suggest.
2. Also i have another problem which occurs randomly.although i have record for a button click event in my property file,button click is not happening during the playback.am getting error asVariable "obj.libraryname.web_button_BTN_1" not found for string:
please not i have entry for the above button in my property file.
Please suggest.Say i have 5 rows then
for(int i=1;i<=5;i++){
String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
web.text_area(Newpath).setText("Text to be set")
Below function is used to update my path
public String updatepath(String path,int i) throws exception {
String FPath = "";
if(i<2) {
FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
} else {
FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
return Fpath
anyother way to update path and set the fields in mutiple block is appreciable
thanks
Suresh -
several of my songs in itunes gives me the can't locate ! sign. in going to the info for each of those songs i noticed the path to locate the file was in proper format except for the slash marks which were / instead of \ . how can i change the slash makrs in the paths for those songs?
thanks for the info. if itunes is applying the wrong path i.e. - forward slashes in path instead of backward slash how will i ever access those songs I've purchased. it won't let me download them again because it thinks they are on my computer?
-
How can i change the path for uploadin videos??
i m using javax.servlet.servletcontext for setting the path for storin upload videos...
by using the getrealpath able to store videos in web-inf file...
how can i change the location...this is the part of code in which i want to change my storage location:
** * The base path corresponds to the base directory of the
* application context's WEB-INF directory. This means that
* this directory is NOT visible to the end user.
public static String getBasePath(javax.servlet.ServletContext context)
{ return context.getRealPath("/") + "WEB-INF" + directorySep;}
/** * The temporary directory used to store files while they are
* being uploaded. */
public static String getTempPath(javax.servlet.ServletContext context)
{ return getBasePath(context); }
/** * Gets the upload directory - used to indicate the local file
* system storage area.
can u tell me now how to change the context value???
and how to change the storage loction?? -
How to configure the requirements for output control ?
Hi ,
I have some problems in configuring the requirements for output control like following :
My aim is to make a condition check when i create an inbound delivery ( VL31N) or MIGO ...., as default in the requirement check for output , a message type will be created automatically if the it satisfies the condition in the KOBEV .....KOBEV( each sub routine was defined with a message type ( V6 ) ( if sy-subrc = 0) . And then a printing program will be triggered to print the SAPscripts form in the table "tnapr" but even if i have put sy-subrc in ( KOBEV...KOBEV ) always = 0 the printing was not executed , and in this case i do not understand the reason why , If you please to help me this .
Thanks ,Hi,
it seems that the requirement you made is not the reason why it's not printed. If you set sy-subrc to 0, this code should have no effect.
Cheers,
Stefan. -
Where to Configure the Price for the UoM Conversion
Hi All,
I have a requirment from my client here that he wants to change the UoM of the material at the billin document level. The UoM can be changed but I realized once it is changed the price has gone all wrong. Where can I configure the price for the UoM conversion because I cannot find it anywhere in SD itself.
Appreciate all of your inputs.
Thanks a lot!Hi Prashant,
I am trying to maintain the same material with different UoM but when I do so it says that the current condition is being processed at the current session. I guessed it meant that the conditiont record for that material type already exists?
How do I rectify this problem because when I enter the new line of material with the new UoM disappears.
Appreciate your input in this,
Thanks a lot!
Edited by: Yvonne Lee Sook Fun on Jun 16, 2009 4:32 AM -
SQL Server Management Studio - Configuring the environment for first time use
Hi
I have recently switched my local 'My Documents' folder location to a network drive that I 'make available off line' to allow on-line/off-line work and synchronisation when I am working in and out of the office.
When I load my SQL Server Management Studio 2005 I frequently get 'Microsoft SQL Server Management Studio is configuring the environment for first time use'.
Management Studio them loads and I can continue without problem.
I am guessing it is trying to make reference to some settings file. Any ideas? I wonder if I can change/move these settings elsewhere to a local drive?
ThanksHi,
There is bug report of this issue:
http://connect.microsoft.com/SQLServer/feedback/details/126364/configuring-enviroment-for-the-first-time-every-time-in-ms-sql-server-management-express
"SQL Server Management Studio Express saves the settings for the user in ...\Documents and Settings\<User Profile>\Local Settings\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
and in ...\Documents and Settings\<user profile>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
if any of these files are not available or unusable, SSMSE will generate new ones."
Hope this helps.
BR,
JoukoK -
How to set up the path for report in 10gAS?
I have a report which can be run in one folder A but not in the other folder B, both folder are included in the forms_path in default.env of AS. How can I set up the path for the report in AS so that the report server knows to look for the report in the folder B?
Hello,
If you don't specify the "full path name" for your reports, the file will be searched in the directories listed in REPORTS_PATH or in the directory specified in the property sourceDir
For more details :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/envvars/envvar_reports_path.htm
and
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm
Regards -
Change the path for attachments after changing a server
Hello experts,
I have a requirement which I cannot solve...
By a customer a server which was used for saving the attachments is no longer active. The customer has now a file server. So in SAP we have changed the path information under Administration > System Initialisation > General Setting in the Path tab from the old server to the file server like this:
Old path:
oldServer\ALLGEMEIN\SAP\DOKUMENT_TEXT\
New Server:
newServer\ALLGEMEIN\SAP\DOKUMENT_TEXT\
But now I have the problem that all the path information in the UDFs from type LINK and also in all attachment fields like in activities, where the customer has put in a file are still standing on the old status.
We have allready copied all attachzments from the old server to the new one in the same structure as in the old server).
Now I have to change in all fields, which are from type LINK (this concerns by the customer only item master date, BP master data and activities) the path information.
That means I have to paste the string in all the fields 'oldServer' whith 'newServer'.
Has anybody an idea how I could do this???
Best regards,
VuralHi Vural,
We are facing same kind of issue with our landscape, how did you changed the path for attachments.
Tcode = IH01
Worked with user and tried to change the path for few attachments from \\old_server\GROUPS\ to \\new_server\GROUPS\ (storage server) and its worked, but as per user there are lot of files exist in server, they wants to upgrade the path for all files automatically from old_server to new_server.
Regards,
Rishi -
Classes not found when compiling for jdk1.3.1_01 on red hat 7.2
I have just installed jdk1.3.1_01 (rpm) on linux red hat 7.2
I have written a small program to test, however, the compiler isn't able to locate the classes.
import javax.swing.*;
public class JTest {
public static void main( String args[] )
JOptionPane.showMessageDialog( null, "Hello", "Test Dialog",
JOptionPane.INFORMATION_MESSAGE );
System.exit( 0 );
When compiled it generates the error:
JTest.java:10: error:Variable "JOptionPane" is not defined in current context
I have the path and classpath set to what I think are the correct directory paths.
Any advice would be much appreciated!
Thanks..Sorry, typo in the classpath... but now when I compile
I get error: "segmentation fault" then nothing else.
This also happens when I execute a precompiled app (eg
"java OldApp").This is to do with GLIBC-2.2, I believe. :/ (Pointed out by Niteen. :)
"ulimit -s 2048" should fix this. Adding this line to /etc/profile or your ~/.profile shall automatically run this command every log in.
Bhav -
F4 Help to get the path for a File source directory
There are numerous function modules for browsing a particular file in desktop and getting the file path (including the fine name) , like F4_FILENAME , KD_GET_FILENAME_ON_F4 , WS_FILENAME_GET etc. But can anyone tell me how to fetch only the directory path to the field were the F4 help is given. Actually the filename has to come in some other field in the selection screen. Is there separate funtion modules for these OR will changing parameters in the above function modules work?
Pls Help....
Also are there function modules for providing F4 help for getting the path to a file in application directory?Try this method CL_GUI_FRONTEND_SERVICES.
It is a Global CLASS which is having different methods for different purposes
see the documentation of it and use the methods of it
see
CL CL_GUI_FRONTEND_SERVICES
Short Text
Frontend Services
Functionality
The class CL_GUI_FRONTEND_SERVICES contains static methods for the following areas:
File functions
Directory functions
Registry
Environment
Write to / read from clipboard
Upload / download files
Execute programs / open documents
Query functions, such as Windows directory, Windows version, and so on
Standard dialogs (open, save, directory selection)
Example
Determine the temp directory on your PC:
DATA: TEMP_DIR TYPE STRING.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY
CHANGING
TEMP_DIR = TEMP_DIR
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2.
IF SY-SUBRC 0.
Error handling
ENDIF.
flush to send previous call to frontend
CALL METHOD CL_GUI_CFW=>FLUSH
EXCEPTIONS
CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2
OTHERS = 3.
IF SY-SUBRC 0.
Error handling
ENDIF.
WRITE: / 'Temporary directory is:', TEMP_DIR.
Notes
The class CL_GUI_FRONTEND_SERVICES is based on the Control Framework. See the documentation for more information, in particular on CL_GUI_CFW=>FLUSH which must be called after many CL_GUI_FRONTEND_SERVICES methods.
Migration Information
The old file transfer model was based on function modules of the function group GRAP. The old features have been replaced by the class CL_GUI_FRONTEND_SERVICES. The following list contains the old function modules (italic) and the new methods (bold) that replace them:
CLPB_EXPORT
CLIPBOARD_EXPORT
CLPB_IMPORT
CLIPBOARD_IMPORT
DOWNLOAD
GUI_DOWNLOAD, dialog replaced by FILE_SAVE_DIALOG
PROFILE_GET
No replacement, use REGISTRY_* methods instead
PROFILE_SET
No replacement, use REGISTRY_* methods instead
REGISTRY_GET
REGISTRY_GET_VALUE, REGISTRY_GET_DWORD_VALUE
REGISTRY_SET
REGISTRY_SET_VALUE, REGISTRY_SET_DWORD_VALUE
UPLOAD
GUI_UPLOAD, dialog replaced by FILE_OPEN_DIALOG
WS_DDE
Obsolete: This function is no longer supported.
SET_DOWNLOAD_AUTHORITY
Obsolete: This function is no longer supported.
WS_DOWNLOAD
GUI_DOWNLOAD
WS_DOWNLOAD_WAN
Obsolete: This function is no longer supported.
WS_EXCEL
Obsolete: This function is no longer supported.
WS_EXECUTE
EXECUTE
WS_FILENAME_GET
FILE_SAVE_DIALOG, FILE_OPEN_DIALOG
WS_FILE_ATTRIB
FILE_SET_ATTRIBUTES, FILE_GET_ATTRIBUTES
WS_FILE_COPY
FILE_COPY
WS_FILE_DELETE
FILE_DELETE
WS_MSG
Obsolete: This function is no longer supported.
WS_QUERY
CD (current directory)
DIRECTORY_GET_CURRENT
EN (read/write environment)
ENVIRONMENT_GET_VARIABLE
ENVIRONMENT_SET_VARIABLE
FL (determine file length)
FILE_GET_SIZE
FE (check if file exists)
FILE_EXIST
DE (check if directory exists)
DIRECTORY_EXIST
WS (determine Windows system)
GET_PLATFORM
OS (operating system)
GET_PLATFORM
WS_UPLDL_PATH
Obsolete: This function is no longer supported.
WS_UPLOAD
GUI_UPLOAD
WS_VOLUME_GET
Obsolete: This function is no longer supported.
Reward points if useful. -
Is the path for calling the script correct?
Hello.
Please see my attachment. I have simply copied the command line from Postinstall->Copy Scripts and replaced with the correct filename. Is the path in the command line correct for executing the script? I am trying to deploy a new wallpaper. However, I am
getting errors : 2147467259 0x80004005.
Here is the error in deployment :
Regards, RuneHi,
I solved it. Ran this script from ZeusABJ and called it in TS right after 'Install Applicaions' with "%SCRIPTROOT%\scriptname.bat" :
@ECHO OFF
TITLE Set Custom Wallpaper for Windows 7
ECHO Set Custom Wallpaper for Windows 7:
ECHO.
:: Set script execution directory:
SET _thisdir=%~dp0
:: Take ownership of original default Wallpaper file:
TAKEOWN /F %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
:: Replace ACLS for original default Wallpaper file with default inherited ACLS:
ICACLS %SystemRoot%\Web\Wallpaper\Windows\img0.jpg /reset
:: Rename original Wallpaper file so it will still be present and usable:
RENAME %SystemRoot%\Web\Wallpaper\Windows\img0.jpg imgX.jpg
:: Copy custom Wallpaper to default Wallpaper location:
XCOPY "%_thisdir%CopyDir\*.*" "%SystemRoot%\Web\Wallpaper\Windows" /D /E /C /R /I /K /Y -
Defining the path for the use of beans in a JSP
Hello,
I would like to use a bean in a JSP file, via the <jsp:usebean> directive.
I didn't find any property (weblogic property) which could define the path
to the directory of my beans classes.
So :
1) i have put the path of this directory in the weblogic classpath in the weblogic
start script.
2) i made the same with the java classpath.
Both solutions don't work at all.
Any suggestion would be appreciated.
Thanks in advance.
We use the \weblogic\myserver\serverclasses for beans..
of course we pack beans into jar files, and these jar files are included into
the wls classpath..
"Sylvain R." <[email protected]> wrote:
>
>Hello,
>I would like to use a bean in a JSP file, via the <jsp:usebean> directive.
>I didn't find any property (weblogic property) which could define the
>path
> to the directory of my beans classes.
>So :
>1) i have put the path of this directory in the weblogic classpath in
>the weblogic
>start script.
>2) i made the same with the java classpath.
>
>Both solutions don't work at all.
>
>Any suggestion would be appreciated.
>Thanks in advance.
>
Maybe you are looking for
-
Help setting up Aelfred and SAX for MIDP
This relates to chapter 11 & 12 of Yu Feng book Wireless Java Programming with J2Me. Where exactly do you install Aelfred and Sax? What variables have to be set in the class path or what jar files have to be placed where. I can't compile my applicati
-
Notebook GX740 does not react to the power button
Hello. Notebook GX740. When you upgrade NB Camera / VGA / EC Firmware laptop hangs. 1 hour turned it off the power. Now does not react to the power button. How can I restore NB Camera / VGA / EC Firmware??? The file downloaded from the website EC1727
-
Deleted messages from Outlook 2010 still appear on iPhone and OWA
I have a very odd issue. When I delete e-mails from Outlook 2010, they are deleted fine. However, when I check my mail on my iPhone, or on the Outlook Web Access, the e-mail is still there. I'm not sure what is going on. Our e-mail is set up on a
-
SDO_UTIL.BEARING_TILT_FOR_POINTS returning ORA-03113
I am attempting to run a set of points through the SDO_UTIL.BEARING_TILT_FOR_POINTS procedure using the example listed in the Oracle Spatial Developers Guide. I have tried this on 2 different Oracle 11 instances, windows and linux based, and they all
-
X11 for G5/PPC problems incl screen shots
Hello: Most x11 on Leopard questions have been archived, so you can't add to them. Please note I'm talking about x11 on G5 ppc hardware, so one is limited to OS10.5 and xquartz 2.6.1 (I don't think snow leopard 10.6 runs on G5 ppc, and I don't thin