?
Solved

help

Posted on 2002-05-29
8
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And 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 300 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

770 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