Forums Register Login

How to compile a file with J2SE 1.3.1 written in a older version

+Pie Number of slices to send: Send
Hi, I got some java files written in sdk 1.1 and I've got J2SE 1.3.1. how can I compile then.
many thanks
+Pie Number of slices to send: Send
What problems are you encountering when you compile them with the 1.3.1 compiler? Please be specific.
+Pie Number of slices to send: Send
In my opinion there should not be any problem in compiling and running the java class file as java support for the downcompatibility.
Pl specify the problems.
regards,
Arun
+Pie Number of slices to send: Send
I downloaded some files from the internet, written in swing 1.1 and I trying to compiling that with J2SE 1.3.1 and I got the message that
the package com.sun.java.swing.text.*;
I know that the change thepackage name after that to javax.swing and I try to change it in the java classes that I downloaded but that generate anothers errors.
I downloaded from here http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/index.html
and they give you a hint to compile it but I really don't know how to do it.
thanks
+Pie Number of slices to send: Send
You need to change every instance of "com.sun.java.swing." to "javax.swing."
Once you do this, what errors are you getting?
pie. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 967 times.
Similar Threads
petstore1.3 question
Personal Profile IDE
CORBA bad operation error in RI
problem running AdviceClient
Why "lock" an app to a particluar JRE version
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:55:55.