Solved

help

Posted on 2002-05-29
8
187 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

743 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

15 Experts available now in Live!

Get 1:1 Help Now