Solved

help

Posted on 2002-05-29
8
188 Views
Last Modified: 2010-03-31
i am using jdk1.2.2
last time,i use another pc....which same version of java...and the path name i set:
PATH=C:\jdk1.2.2\bin
SET CLASSPATH=.;C:\jdk1.2.2\jre\lib\rt.jar
and it can work ,can run ...compile..
but now in my new pc.when i type 'java -version...
it come out a window error message about the ilegal operation!

what should i do????why last time in my old pc can work but now in new pc cant????
0
Comment
Question by:jfren
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 92

Expert Comment

by:objects
ID: 7043552
Where is the JDK installed?
I'm geussing it's not installed in c:\jdk1.2.2.
You need to set the path to:
PATH=<JDK>\bin

where <JDK> is the directory where the JDK is installed.
0
 

Author Comment

by:jfren
ID: 7043740
i install in  c:\jdk1.2.2.
....
0
 
LVL 92

Expert Comment

by:objects
ID: 7043754
What is the error message when you run:
c:\jdk1.2.2\bin\java
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 16

Expert Comment

by:heyhey_
ID: 7043775
> it come out a window error message about the ilegal operation!

post the error message
0
 

Author Comment

by:jfren
ID: 7044108
that is the window error message box...
the title in the blue bar is "java",then the message is :this program is perform a ilegal operation,if the problem persist....."
this message come out when i type "java -version'..
0
 
LVL 16

Accepted Solution

by:
heyhey_ earned 100 total points
ID: 7044118
so what's after "if the problem persist....." :)

it sounds like you have damaged windows installation. the simplest possible solution is to reinstall windows.
0
 
LVL 35

Expert Comment

by:girionis
ID: 8813262
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to heyhey_

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse shortcuts 9 45
netstat -ano | find "8000" and taskkill /f /pid 2984 3 30
egit plugin on eclipse 8 31
use lov values 2 24
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now