Need to run swing GUIs under different JRE versions
I need to run swing GUIs under different JRE versions. Where can I find information about how to use only classes which exist from version 1.1.7 and above?
Under 1.1.7, Swing (then version 1.0) was under com.sun.java.swing. The package name changed in Swing 1.1 b3/JDK 1.2 to javax.swing. You can see what classes were available under Swing 1.0 at http://java.sun.com/products/jfc/swingdoc-api-1.0.3/frame.html
Similar Messages
-
Hey Guys,
I m sure u must be rocking !!! Let me come to the point !! I have following doubts...
1) Is it possible to run different JRE versions on the same machine...? This might be a real life scenario. For example u have java application-1 installed on ur machine which uses JRE1.4. Then u install another java application-2 which was built and tested using JRE1.5. That means u need to have both the JREs on ur machine and User might invoke both the application at the same time which needs respective JREs to be invoked.
If u smart guys guessed it that this guy is coming from .NET back ground and talking about Side by side execution, then u got it right. I m planning to shift the parties !!
2) If above answer is yes, then How can we achive it...?
Thank you guys !!> I could not think of any better scenario on top of
my mind, But even the examples which I gave are
valid i guess, may be some people will agree with me
in the forum....
"I guess" and "maybe" are far different from "it is always better to not touch the old application and its JRE".
> But i dont understand why u think that these
examples are non sense !!
I work for a multi-billion dollar business in which the JRE of a critical application was upgraded without a problem. According to your suggestion, that's a mistake, but I have a hard time imagining what your justification for that position would be.
> Correct me if i m wrong
anywhere....I m very new to Java,
Considering some different scenarios is good for the imagination. Not to be too harsh, but perhaps counselling people that one should never upgrade the JRE of a business- or mission-critical application should wait until you have some actual experience. :o)
~ -
Use different JRE versions in Oracle Discoverer 10g(10.1.2.0)
Hello.
We have a Oracle Forms application which also uses Discoverer Plus and Reports.
Problem is we have some user clients who uses XP/IE 6.0 while otheres has Vista IE 8.0.
Based on here
http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#BABGCBHA
depending on OS/browser different plugin versions are required. If we
Can we have different JRE versions in separate clients? Kinda confused with the matrix.Hi;
Please check below which could be helpful for your issue:
Overview of Using Java with Oracle E-Business Suite Release 12 [ID 418664.1]
Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]
Oracle Jinitiator and Sun JRE/JPI Support for Oracle Forms Applications [ID 555720.1]
Regard
Helios -
Need to run the report in different languages
Hi All,
i need to run the Bex report in different languages (SAP-BI). to maintain the Language plase give me the tables name.
To maintain Query Description :Table?
To maintain Desription of Key fig and CKF and RKF : Tables
Regards
Srinuthanks for replying, but i tried this option too, it did not work for me, neither isnull nor coalesce. I mean, the solution work for single value but when i pass multiple values then separated by a comma then it doesn't work and shows me an error like "Incorrect Syntax ','". I am using SQL server as DB and bip is 10.1.3.4.1
also please share the SR number, so i can also check the same.
can there be any other work around to this?
thanks,
ronny -
Running Swing GUI in MAC OS ?
Hi All,
I have been trying to run swing based GUI on MAC Operating System. I downloaded MRJ but i could not found any swing support in it. I kept swingall.jar in classpath which i took from Window's JDK. But no use.
Can anybody help me out to run a simple GUI on MAC ?
Hopeing for a favourable response.
Kind Regards
Chetan ChandaranaIf anyone wants to know where to get the swingall.jar for 1.1 go to: http://java.sun.com/products/jfc/download.archive.html#1.1.1
get the tar or zip file. Then put the swingall where impatient1 says to and swing will work.
You can also get lots of information on setting up Mac Classic for Java from:
http://lists.apple.com/mailman/listinfo/java-dev
on apple's web site. You can search the archives with a username and password listed on that page.
I could not find any information on the collections zip that impatient1 mentions in the post. If anyone knows where you can get that and if it really works, I would really like to know. :) -
Hi ,
We are running our application hosted in 10g Release 2 version 10.1.2.3.
As Only JRE 1.5.0.9 and above is supportable client software we are using 1.5.0.9 for our forms applications. However in one of our client place we have a Java application which uses 1.6 and above releases of JRE. Now we have 2 different versions of JRE installed in a PC. How to make sure only our forms application is using only 1.5.0.9 and not any thing else, because by default it picks up the highest version of JRE software installed in the client PC.
So in essence even if higher versions of JRE is installed in the client PC my forms application should pick up only the version i have mentioned in formsweb.cfg file and not any other version of JRE software installed in client PC.
We are forced to this option because there are some known issues if we run our application apart from JRE 1.5.0.9.
Request the forum users to participate and help me out of this.
ThanksHi;
Please check below which could be helpful for your issue:
Overview of Using Java with Oracle E-Business Suite Release 12 [ID 418664.1]
Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]
Oracle Jinitiator and Sun JRE/JPI Support for Oracle Forms Applications [ID 555720.1]
Regard
Helios -
Jar doesn't run on Vista under latest JRE or JDK
This jar causes a problem: http://rapidshare.com/files/92589224/pgjc-engine.jar
When running it under Windows XP, it works OK.
On Vista I tried JRE 1.6.04, JDK 1.6.04, both x64, x86, also tried Vista x86 and Vista x64 (with or without SP1). It doesn't work. When double click JAR there's nothing happens. When running it from console, I getting following error:
"D:\Downloads>java -jar pgjc-engine.jar
Exception in thread "main" java.lang.ExceptionInInitializerError
at no.rwr.engine.SessionGUI.<init>(SessionGUI.java:130)
at no.rwr.engine.App.<init>(App.java:53)
at no.rwr.engine.App.main(App.java:15)
Caused by: java.lang.NullPointerException
at no.rwr.engine.GUIStyle.<clinit>(GUIStyle.java:25)
... 3 more
D:\Downloads>set cla
CLASSPATH=.
D:\Downloads>set path
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x
86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre1.6.0_04\bin;C:\Program F
iles (x86)\Java\jre1.6.0_04\lib"
Can somebody explain what it means? Java 6 is incompatible with Vista?There is a problem with the static initializer in SessionGUI.java at line 130. The source code is needed to say anything more.
Java is not incompatible with Vista; older user programs not written for Vista can be. -
Windows Server - Run multiple domains under different accounts
Hi,
I have multiple domains on a Windows Server. I'd like to run these under separate accounts for security reasons.
My options I have so far:
1) Install all Admin servers and managed servers as windows services and set logon appropriately
2) If possible, use multiple node manager instances, one for each domain and set the log on for each node manager windows service
I like the idea of multiple node managers but I can't find any reference in the documentation about this. I'd rather not use option 1 as I won't be able to restart servers from the WebLogic Console
Has anyone had to do this before?First option might be the cleanest .
For second option make sure that there are separate Node_Manager home directory for different node manager instances.
Edited by: atheek1 on Jun 19, 2010 4:55 AM -
Running managed servers from different WL versions under a domain
Hi,
Would it be possible to run managed servers (in non clustered way) from different versions of WebLogic under a single domain, with admin server of higher WebLogic version controlling the domain and the managed servers?
Regards,
GobiHi Gobi,
we can make it run such a way but it may lead to many complication with patch sets.
Few thing work in one environment and other will not so it is not at all recommended way to set such configuration.
Regards,
Kal -
How to make in/out Port vis work with COM interface under different windows versions?
Hello!
I know that the accessHW is necessary for it, so I downlaoded the
this file from the homepage of NI, but there are always some problems
with it.
My program should get the the voltage impulse between
the pins DTR and RTS of a COM interface. After
I installed accessHW under winNT, the voltage between them changed
automatically from 0 mV to about 24 mV , and program
worked well . But this way does not work under Win98 and Win2000,
and this voltage is always 0 so that the device can not make any voltage
impulse.
Could someone give me a software solution for it? Thanks!
P.S:The version of the labview I use is 6.1.
LeYou shouldn't depend on a voltage difference between the tow pins unless you need something like 24 volts and not 24 millvolts. All of the signal lines are referenced to ground and the signal lines usually swing between -3 to -12 and +3 to +12 volts. If you truly saw a 24 millivolt difference between two signal leads, then all that means is that they are both at the same logic state. A difference of 24 millivolts is not much and has to do with the UART in your computer and not accessHW I believe though maybe what happened is that the difference is 24mv when both are logic "1" and less when logic "0" or vice versa. If your device requires power from the serial port, then what you'll have to do is control the signal lines in your program and I
would recomend VISA to do that instead of inport/outport. And check the voltage requirements of your device. If this is a device you designed, it should be designed for the lower voltages on new pc's and laptops. In other words, I would depend on 3 volt signals instead of 12. There are numerous references to either RS-232 or EIA-232 on the web. I think a review of the electrical specifications is needed. -
Different JRE versions coexisting
Hello everyone;
I need two have two different versions of jre coexisting within the same oracle instance. The platform is Tru64, Oracle 8.0.6 nad the two versions of JRE are JRE 1.1.8 and 1.2.8.
Has anyone tried something like this before?
Any input will be highly appreciated.
Cheers,
Felipe GuacacheHi;
Please check below which could be helpful for your issue:
Overview of Using Java with Oracle E-Business Suite Release 12 [ID 418664.1]
Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]
Oracle Jinitiator and Sun JRE/JPI Support for Oracle Forms Applications [ID 555720.1]
Regard
Helios -
Launching Applications installed under Different osX version
I have many applications installed under OS 10.5.8 Leopard (Acrobat Pro v9, many others) that I use frequently. However, I installed 10.4.11 on a separate local disk because I needed to execute historical Mac Classic (OS version 9.2.2) applications and files on my G5. My dilemma is... now every time I am using OS 10.4.11 ... but want to use an application installed on the OS 10.5.8 disk ... I'm prompted to enter serial number/license information for the application all-over-again. Is there any way around this? Thanks in advance for an answer! 8-)
-jayHi Jay, Many APPs put that info in different places on the Disk, some are tied to the username or UID even, some even tied to the HD name, some even tie it to other Hardware & Software.
The normal way when upgrading is to use Migration Assistant to get all the needed files, but I'm not so sure that would work going backwards/downgrading. -
Error when running some JSP under OC4J extended version
Try to run the NumberGuess jsp example using OC4J extended version under win2000 with J2SE 1.4 and J2EE 1.3, receive the following errors:
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:F:\OC4J\j2ee\home\application- deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java
error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
F:\OC4J\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package examples.jsp._num;
^
2 errors
Can anyone tell me what went wrong and how to fix it please?Try to run the NumberGuess jsp example using OC4J extended version under win2000 with J2SE 1.4 and J2EE 1.3, receive the following errors:
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:F:\OC4J\j2ee\home\application- deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java
error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
F:\OC4J\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package examples.jsp._num;
^
2 errors
Can anyone tell me what went wrong and how to fix it please? -
Different JRE Version requirements
I apologize in advance if this has been posted and answered already; I couldn't find the right combination of keywords to locate it...
The company I work for has two large partners that it works closely with. One of these partners Java programs require JRE 1.4.2 the other company's programs require at least JRE 1.5. To this point we have not been able to find any way to direct company A's java programs to use JRE 1.4.2 and company B's programs to use JRE 1.5 on the same computer. This has required that certain people be setup for company A and other people be setup for company B. Is it possible to force these programs to use the version of Java they're looking for on the same computer?
In one case these programs are a mix of Java applets and JNLPs, while in the other they are all Java applets.
TIA!Try it and see, I've ran earlier version bytecode on new releases and also compiled old source on new JDK's without any problems before, but then your app is not my app and you may have used something or combinations of somethings that nobody else ever has and it yacks on you.
Never know until you try it.
BTW: I'm still running some of my 1.5, 1.4, 1.3, and 1.2 code on 1.6 no problems, but then not all of it is rocket science either. -
Compile with different JRE Version
Hello!
Exists some problem compile application using JRE 1.5.0_8 and run with JRE 1.5.0_11?
Thanks a lot
AndrewTry it and see, I've ran earlier version bytecode on new releases and also compiled old source on new JDK's without any problems before, but then your app is not my app and you may have used something or combinations of somethings that nobody else ever has and it yacks on you.
Never know until you try it.
BTW: I'm still running some of my 1.5, 1.4, 1.3, and 1.2 code on 1.6 no problems, but then not all of it is rocket science either.
Maybe you are looking for
-
Final Cut Pro X 10.2 crashes when I try to convert old libraries for use in the new software. Is there a workaround for this? Or will I have to continue using the previous version to complete older projects? the only foreseeable solution is to begin
-
HOW do I get my Extreme base station and Express to join a Linksys network?
OK... so I have FINALLY enabled my SLINGBOX to view remotely by totally removing my Airport Extreme & Express from the network look. I was told they are both routers and I have to pick one. The Linksys network works fine for all networking purposes..
-
Problem to connect from client to server RMISSLSecuritySocket
Hi, I�m try to connect to my RMISSLSecuritySocket out of my LAN and the debug tell me: keyStore is : keyStore type is : jks keyStore provider is : init keystore init keymanager of type SunX509 trustStore is: seguridad\clientstore trustStore type is :
-
Registering event as application event for local class inheriting grid clas
hello all, i have a scenario where i have to use many events as system events and one event as a application event for a local class defined which inherits cl_gui_alv_grid can any one tell me how exactly could i do it. Thanks, raju N
-
How zip a file with pl/sql
Hi to all, I would like a pl/sql to zip a file. Somebody to help me? Thank you Silvia