Solved

help

Posted on 2002-05-29
8
189 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

832 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