How can i find the jar file version in Solaris
Hi,all.
I just forget the java command by which i can know a jar file's version.I searched the jar command manual,unfortunately there is nothing helpful.
Can anyone tell me what should i do?
Thanks in advance.
I'm not sure that there is any version information related to a JAR file. And if you look at the JAR classes in the API docs, there is nothing related to the version. There can be a version number in the MANIFEST though, but not related to the JAR itself.
Similar Messages
-
Hello! I have one iTunes library on my iPod and one iTunes library on my computer. When I connect my iPod touch to my PC, however, I cannot find any files in my iPod except for pictures. How can I find the music files so I can add them to my iTunes?
You can't do that.
And before you decide to store any music that you own on a computer at work, talk to your IT department. Many organizations do not permit it for legal reasons. Standard policies are that anything stored on company owned computers is the property of the company. It could not be legally stored on their machines unless you transfer the licenses and all copies, physical and digital, to the company, meaning you no longer own the music. If they were to be audited and could not prove that they own the music, they would be subject to copyright violation penalties. Just use your iPod when you're at the office if you want to listen to music. -
How can i find the installed forms version in 6i...?
Dear all,
How can i find the installed forms version in 6i, the situation is we have given a solution which will work in only forms6i latest version, before implementing the same we need to check whether the forms latest version has been installed or not
Is there any way to find out without opening the forms builder..?
Even if we un install the forms from a machine, the forms60_path variable will remain in regedit, so we cannot go based on that and aslo i dont know whether regedit will have the version details and all.
It would be greatly appreciated if any one can give a solution.
Thanks in Advance.
Thangaraj.you query the registry, the registry has the version number saved, but I cannot remember exactly where and I don't have 6i Installed on my machine.
You just open the Forms Builder and click on Help/About.
But Jan's method is the best. -
How can I find the JDBC Driver version
Hi,
How can I find the JDBC Driver version installed on my Sun Solaris machine which
has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
do so or does Weblogic console say something about it
Thanks
Parikshit KhannaParikshit Khanna wrote:
Hi,
How can I find the JDBC Driver version installed on my Sun Solaris machine which
has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
do so or does Weblogic console say something about it
Thanks
Parikshit KhannaThere is a jdbc DatabaseMetaData call getDriverVersion().
The best thing to do is to download Oracle's latest appropriate
driver from their site, and edit the start-weblogic script to
make sure the downloaded driver is ahead of any weblogic stuff in
the server's classpath. We do ship a driver, but Oracle usually
has a newer better one very soon after that...
Joe -
How can I find the WPA encrypted version of my airport password?
How can I find the encrypted (WPA?) version of my Airport Express password?
Please check out this AirPort Support article.
-
Where can I find the JAR-File of the JDAPI-demo FormDumper ?
Hi,
I would like to compile the JDAPI-demo FormDumper
and cannot find the right jar-file of :
import oracle.forms.util.Getopt.*; .
Thanks,
FriedholdOk there is no place to find the getopt file. forms 10.1.2.2.0) One needs the corrected version of the formdumper program which elimates calling it.
btw to compile this one would need to do:
set CLASSPATH=c:\devsuite\forms\java\frmjdapi.jar;
javac FormDumper.java
to run it I found this necessary:
set CLASSPATH=c:\FormDumper.class;c:\devsuite\forms\java\frmjdapi.jar;
java FormDumper c:\\mydirectory\\myform.fmb >myform.out
/* modified version of the corrected version */
/* Subject: How To Implement The Code From 'A JDAPI Programming Example' From Forms Online Help?
Doc ID: Note:428083.1 Type: HOWTO
Last Revision Date: 23-APR-2007 Status: PUBLISHED
Applies to:
Oracle Forms - Version: 9.0.5.2 to 10.1.2.2
Information in this document applies to any platform.
Goal
The goal of this document is to explain how to make the sample code provided in the java class FormDumper 'A JDAPI Programming Example' from Forms OnLine help work.
When used as it is provided in the documentation it fails, because 'import oracle.forms.util.getopt.*; not found'.
Solution
The sample code provided in the 'A JDAPI Programming Example' Forms OnLine help has the following line:
import oracle.forms.util.getopt.*;
When trying to compile the FormDumper.java the compilation fails with 'import oracle.forms.util.getopt.*; import not found'. This import fails due to the fact that util.jar library is not available with the standard Forms iDS. The solution to have the FormDumper class is to use another code in which util.jar is not used.
Sample code to be used:
import java.io.File;
import java.io.PrintWriter;
import java.io.FileWriter;
import java.text.MessageFormat;
import oracle.forms.jdapi.*;
* Dumps passed forms JdapiObjects to an output stream as text.
* Set command line options for more output, else only the
* basic form tree structure will be dumped.
* See printUsage for command line options.
public class FormDumper {
* Need this to parse the command line options
* The string represents valid command options as detailed in the
* Getopt class
/* changed following b */
/* boolean m_dumpAllProps = false;
boolean m_dumpBoolProps = false;
boolean m_dumpNumProps = false;
boolean m_dumpTextProps = false;
boolean m_dumpPropNames = false;
boolean m_dumpAllProps = true;
boolean m_dumpBoolProps = true;
boolean m_dumpNumProps = true;
boolean m_dumpTextProps = true;
boolean m_dumpPropNames = true;
String m_dumpPath = null;
* Output stream, default to STDOUT */
private PrintWriter m_out = new PrintWriter(System.out, true);
* Use this to indent children
private String m_indentation = "";
* Constructor
public FormDumper() {
* Special constructor that does not take command line arguments.
* @param out The output writer where to send dump information.
public FormDumper(PrintWriter out) {
m_out = out;
m_dumpAllProps = true;
m_dumpBoolProps = true;
m_dumpNumProps = true;
m_dumpTextProps = true;
m_dumpPropNames = true;
* Set the dump path.
* @param path The file where the dumper must send the information
public void setDumpPath(String path) {
m_dumpPath = path;
* Indirect output
public void println(String s) {
m_out.println(s);
* Dump a form to the output stream
public void dumpForm(String filename) throws Exception {
FormModule fmb = FormModule.open(filename);
System.out.println("Dumping module " + fmb.getName());
if (m_dumpPath != null) {
// use this form's FILE name to name the dump file
String thisFormName = new File(filename).getName();
thisFormName =
thisFormName.substring(0, (thisFormName.length() - 4));
StringBuffer dmpFilename = new StringBuffer();
dmpFilename.append(m_dumpPath);
if (!dmpFilename.toString().endsWith("/")) {
dmpFilename.append("/");
dmpFilename.append(thisFormName);
m_out =
new PrintWriter(new FileWriter(dmpFilename.toString()), true);
// Call the actual 'dump' method
dump(fmb);
// Dump the coordinate system used by the module
m_indentation = " ";
dump(new Coordinate(fmb));
m_indentation = "";
println("Dumped " + fmb.getName());
// Close the module
fmb.destroy();
* Recursively dump a forms JdapiObject and its children to the output stream
protected void dump(JdapiObject jo) {
String className = jo.getClassName();
// print out a context line for the JdapiObject
// If it is a coordinate system, it does not have a name
if (className.equals("Coordinate")) {
println(m_indentation + "Coordinate System ");
} else {
println(m_indentation + className + " " + jo.getName());
// Property classes need special treatment
if (className.equals("PropertyClass")) {
dumpPropertyClass((PropertyClass)jo);
} else // Generically dump the required property types only
if (m_dumpTextProps) {
dumpTextProps(jo);
if (m_dumpBoolProps) {
dumpBoolProps(jo);
if (m_dumpNumProps) {
dumpNumProps(jo);
// Additionally, dump any Item list elements
if (className.equals("Item")) {
dumpListElements((Item)jo);
// use Form's metadata to get a list of all the child JdapiObjects this
// JdapiObject can have b commented this
JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
JdapiIterator props = meta.getChildObjectMetaProperties();
JdapiMetaProperty prop = null;
JdapiIterator iter = null;
JdapiObject child = null;
// loop through every possible kind of child JdapiObject this JdapiObject
// can have b commented this
while (props.hasNext()) {
prop = (JdapiMetaProperty)props.next();
// only bother if we can access these JdapiObjects
if (!prop.allowGet()) {
continue;
// get the actual values for the current child JdapiObject type,
// e.g. get the Items on a Block
iter = jo.getChildObjectProperty(prop.getPropertyId());
// null is returned if there are no property values
if (iter != null) {
// loop over every child value
while (iter.hasNext()) {
child = (JdapiObject)iter.next();
// recursively navigate to it
m_indentation += " ";
dump(child);
if (m_indentation.length() > 2)
m_indentation =
m_indentation.substring(0, m_indentation.length() -
2);
* Dump list elements
* The JdapiObject is an item; if it is a list item,
* dump the list elements.
* @param item
private void dumpListElements(Item item) {
if (item.getItemType() == JdapiTypes.ITTY_LS_CTID) {
if (m_dumpPropNames) {
println(m_indentation + "dumping list elements");
for (int i = 1; i <= item.getListElementCount(); i++) {
String label = item.getElementLabel(i);
String value = item.getElementValue(i);
println(m_indentation + " " + i + ": '" + label + "' '" +
value + "'");
* Dump the property class properties
private void dumpPropertyClass(PropertyClass pc) {
String propertyVal = null;
// test for every single possible property
// this is a bit hacky :)
for (int propertyId = 1; propertyId < JdapiTypes.MAXIMUM_PTID;
++propertyId) {
if (!pc.hasProperty(propertyId)) {
continue; // this property is not in the set
if (pc.hasDefaultedProperty(propertyId) && !m_dumpAllProps) {
continue;
Class pt = JdapiMetaProperty.getPropertyType(propertyId);
if (pt == Boolean.class) {
if (m_dumpBoolProps) {
propertyVal =
String.valueOf(pc.getBooleanProperty(propertyId));
} else if (pt == Integer.class) {
if (m_dumpNumProps) {
propertyVal =
String.valueOf(pc.getIntegerProperty(propertyId));
} else if (pt == String.class) {
if (m_dumpTextProps) {
propertyVal = pc.getStringProperty(propertyId);
if (null != propertyVal) {
if (m_dumpPropNames) {
println(m_indentation + " " +
JdapiMetaProperty.getPropertyName(propertyId) +
" " + // changed by b
propertyVal);
} else {
println(m_indentation + propertyVal);
propertyVal = null;
} // End loop over every property
* Dump the source JdapiObject text properties
private void dumpTextProps(JdapiObject jo) {
JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
JdapiIterator props = meta.getStringMetaProperties();
// for each text property
while (props.hasNext()) {
JdapiMetaProperty prop = (JdapiMetaProperty)props.next();
int propertyId = prop.getPropertyId();
String propertyVal = null;
try {
propertyVal = jo.getStringProperty(propertyId);
} catch (Exception e) {
println(m_indentation + "Could_not_get_property " +
JdapiMetaProperty.getPropertyName(propertyId));
continue;
if (jo.hasProperty(propertyId) &&
(m_dumpAllProps || !(jo.hasDefaultedProperty(propertyId)))) {
if (m_dumpPropNames) {
println(m_indentation + " " +
JdapiMetaProperty.getPropertyName(propertyId) +
" " + propertyVal);
} else {
println(m_indentation + propertyVal);
* Dump the source JdapiObject boolean properties
private void dumpBoolProps(JdapiObject jo) {
JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
JdapiIterator props = meta.getBooleanMetaProperties();
// for each boolean property
while (props.hasNext()) {
JdapiMetaProperty prop = (JdapiMetaProperty)props.next();
int propertyId = prop.getPropertyId();
boolean propertyVal = false;
try {
propertyVal = jo.getBooleanProperty(propertyId);
} catch (Exception e) {
println(m_indentation + "Could_not_get_property " +
JdapiMetaProperty.getPropertyName(propertyId));
continue;
if (jo.hasProperty(propertyId) && (m_dumpAllProps)) {
if (m_dumpPropNames) {
println(m_indentation + " " +
JdapiMetaProperty.getPropertyName(propertyId) +
" " + propertyVal);
} else {
println(m_indentation + propertyVal);
* Dump the source JdapiObject numeric properties
private void dumpNumProps(JdapiObject jo) {
JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
JdapiIterator props = meta.getIntegerMetaProperties();
// for each numeric property
while (props.hasNext()) {
JdapiMetaProperty prop = (JdapiMetaProperty)props.next();
int propertyId = prop.getPropertyId();
int propertyVal = 0;
try {
propertyVal = jo.getIntegerProperty(propertyId);
} catch (Exception e) {
println(m_indentation + "Could_not_get_property " +
JdapiMetaProperty.getPropertyName(propertyId));
continue;
if (jo.hasProperty(propertyId) &&
(m_dumpAllProps || !(jo.hasDefaultedProperty(propertyId)))) {
if (m_dumpPropNames) {
println(m_indentation + " " +
JdapiMetaProperty.getPropertyName(propertyId) +
" " + propertyVal); //changed by b
} else {
println(m_indentation + propertyVal);
* Output usage info to STDOUT
public void printUsage() {
System.out.println("");
System.out.println("Jdapi Form Dumper Utility");
System.out.println("Valid arguments:");
System.out.println("-a : dump all properties, not just overridden ones");
System.out.println("-b : dump boolean properties");
System.out.println("-n : dump numeric properties");
System.out.println("-t : dump text properties");
System.out.println("-p : dump property names, not just values");
System.out.println("-o : file path to output to");
* Main method
public static void main(String[] args) throws Exception {
FormDumper dmp = new FormDumper();
for (int i = 0; i < args.length; i++) {
dmp.dumpForm(args);
System.out.println("");
System.out.println("Dumps complete");
System.out.println("");
Message was edited by:
Jan Carlin -
Qosmio X300-14Y- How can I find the old BIOS version 1.90?
Hi,
First of all; I am so sorry for my bad english knowledge..
Im from Turkey.
I use x300 14 y since one week. factory bios version for vista 32 bit 1.90. But I upgraded to 2.10.
How can I find old bios 1.90 setup file again. ? Please help.......You are right. On Toshiba download page you will not be able to find older BIOS version.
When the new BIOS update is realised the old one will not be available for download.
If you need older version contact nearest authorized service provider.
They must have it. Be cool and talk with them. Maybe they can send it to you per mail. -
Where can I find the jar files of the application I have deployed?
If I deploy an J2EE application successfully on NetWeaver, where are the jar files located? How to find them?
Hi Luc,
APEX does not create physical file that is in APEX_APPLICATION_FILES table.
It can only store the file in BLOB format in repository.
So when we upload file APEX stores file in BLOB column of APEX_APPLICATION_FILES table and then use when needed but no physical file.
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
Where can I find the jar file for File Transfer Service API
Hi all ,
I wish to use the File Transfer Service API in my application . Could anyone please tell me as to where I could find these class files ??
<b>import com.sap.engine.services.file.RemoteFile;
import com.sap.engine.services.file.FileTransfer;
import com.sap.engine.services.deploy.DeployService;
import com.sap.engine.services.deploy.container.WarningException;</b>
Thanks in advance ,
TahzeebHi,
you can find these jar files in the installation directory of NWDS:
...SAPJDTeclipsepluginscom.sap.tc.apcompSAP-JEEDCssap.comcom.sap.engine.deploy.online_compgendefaultpublicdefaultlibjavasapj2eenginedeploy.jar
...SAPJDTeclipsepluginscom.sap.tc.apcompSAP-JEEDCssap.comfile_compgendefaultpublicdefaultlibjavafile.jar
Regards
Sebastian -
Where can i find the JAR files related to JSF
Hey folks
Where can i find the JSF API JAR, so that i can include in my WEB-INF\lib dir
plz help meYou can download the reference implementation from http://java.sun.com/j2ee/javaserverfaces/download.html. Once you get that JSF API jar should be under "lib" directory of the distribution.
-Jayashri -
Where can I find the jar file for WDProtocolAdapter
I tried to use WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter() method in the application. Could anyone told me which jar file should i put into the Java Build Path? Thanks.
Find the jar under WD_runtime
-
How Can I get the Jar file path ?
I have an aplication in a Jar file. This application might be situated in any directory.
I would like to know programatically the path where it was installed.
Is there any way to know this simple thing in Java? I cannot believe that there is not a function like System.getProperty("user.dir") for this as System.getProperty("user.dir") will always return the directory from where the Java VM was lauched!
Thank you!You can get the location with:
URL codeBase = getClass().getProtectionDomain().getCodeBase().getLocation();But as has been pointed out, it's probably better to specify the directory to store these files some other way, e.g. use a batch file or shell script to launch your program and make it the cuirrent directory, or put the directory in as a property or command argument. -
Where can I find the jar files
Hi
I am new to this forum. Could some body help me getting these following jar files ?
mdm-admin.jar, mdm-common.jar, mdm-core.jar, mdm-protocol.jar
Thanks
--shawThey are all part of the Java API download found here...
http://service.sap.com/swdc -> Download -> Support Packages and Patches -> Entry by Application Group -> SAP NetWeaver -> SAP MDM -> SAP MDM 5.5 -> MDM Java API 5.5 -> #OS independent
Hope this helps,
Richard -
Where and how can I find the two files?
I begin study j2me.but I cannot find files j2me_cldc-1_0-src-winsol.zip and j2ne_cldc-1_0-src-palm_overlay.zip in java.sun.com.
If you have the two files ,do you send me one copy?
My email is [email protected],thanks.[szlzhm],
The j2me_cldc-1_0_2-fcs-kjava_overlay.zip file is no longer available for download as this old Palm overlay package is unsupported and not part of the CLDC 1.0 specification.
If you are interested in the Java virtual machine for the Palm OS environment, we suggest that you take a look at the MIDP for Palm OS implementation:
http://java.sun.com/products/midp/palmOS.html
For beginners who want to learn the J2ME technology, a good URL to start from is:
http://java.sun.com/j2me/
You'll need to understand the concepts of CLDC and MIDP specification if you are looking to write J2ME applications for the Palm OS device.
HTH.
Allen Lai
Developer Technical Support
SUN Microsystems
http://wwww.sun.com/developers/support/ -
To make most efficient use of Time Machine backup, I would like to have the option to exclude certain larger files that I don't need to save in case of a disk crash (e.g. a Windows partition under Parallels Desktop, which is backed up at the office anyway) etc.
I can't figure out how I can scan my entire hard drive and obtain a list of all files in descending order of size, irrespective of within which subdirectories such files are hidden. Anyone having an idea on how this simple task can be accomplished?
Thanks,
AnLe41While Finder is active, press Command-F (Find in the File menu).
In that window you can set search criteria. In the second sub-toolbar should be a couple of buttons representing pulldown menus; by default, the first usually shows "kind". Click that one.
In the menu that opens, if "Size" or "File Size" is not available, select "Other". Then in the new window select "Size" or "File Size" and okay the window. From then on that choice will be available in the first pulldown menu.
You can use that to search your drive.
Note - by clicking the "+" button at the far right of the strip containing the pulldown menus, you can add additional search criteria, thus restricting a search to exactly what you want.
Maybe you are looking for
-
Issue with iPhone 5 (AT&T) when reconnecting to LTE.
I recieved my iPhone 5 (on AT&T) a few days ago and have noted an issue with the LTE connection when you try to reconnect after loosing my signal. In the morning, for example, I will have a good LTE connection, then I go to work where the cell signal
-
Has anyone tried generating report output in xml and displaying using stylesheet. I need some help in this. Any help is appreciated. Thanks Rakesh
-
Stop dynamic updating of ldap from radius
We use iPlanet v.4.12 ldap server with radius extensions. At some point in time we have started dynamic updating of the ldap server with session information from the radius server and now I can't find out how to turn off this dynamic updating. I have
-
Hi, We have an inventory cube 0IC_C03, we are deciding to make snapshot because of performance problems. we realised that when we have only 2007 data in the cube, queries run fine, but when we load 2006 and 2007 queries run very slow. In this situati
-
Problem installing WL 6.1SP3 on Linux - 'Exception in thread "main"'
I'm trying to install an evaluation copy of WEBLOGIC 6.1 SP3 in a Linux REDHAT 7.x. I did the following: 1. Instaled the JDK 1.3.1 2. Inserted the JDK1.3.1 as the first path in my $PATH 3. Called: java -cp weblogic610sp3_generic.zip install And this