Q about the CLASSPATH

Just to ensure my classpath is correct ->
CLASSPATH=C:\Documents and Settings\nForce\My Documents\java-projects\com\smith;.;D:\tomcat\common\lib\servlet-api;.
Really my question is, am I correct in seperating the two paths with ";.;"
Thanks

ok I'm sorry for this, but I can't get my head around with what is wrong here..
When I try starting up the j2ee server with the command j2ee -verbose I get the following error:
"'C:\Program' is not recognized as an internal or external command,
operable program or batch file." I don't know why because this is not the standard error you receive when you enter an unknown command into the command line. usually you receive this: "'s' is not recognized as an internal or external command,
operable program or batch file."
I've gone through all my environment variables and I can't match up anything in any of the J2EE settings with "C:\Program"? Could someone help me out here please. I feel like I'm going backwards!!
C:\Documents and Settings\nForce\My Documents\java-projects\com\smith>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_HOME=D:\apache-ant-1.6.0-bin
APPDATA=C:\Documents and Settings\nForce\Application Data
CLASSESDIR=C:\j2sdkee1.3.1\lib\classes
CLASSPATH=.;C:\Documents and Settings\nForce\My Documents\java-projects\com\perk
s;D:\tomcat\common\lib\servlet-api.jar
CLIENTNAME=Console
CLOUDJARS=C:\j2sdkee1.3.1\lib\system\cloudscape.jar;C:\j2sdkee1.3.1\lib\system\t
ools.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3.1\lib\cloudsca
pe\cloudclient.jar
CLOUDSCAPE_INSTALL=C:\j2sdkee1.3.1\lib\cloudscape
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=FINAL-LC2
ComSpec=C:\WINDOWS\system32\cmd.exe
CPATH=C:\j2sdkee1.3.1\lib\system\cloudscape.jar;C:\j2sdkee1.3.1\lib\system\tools
.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3.1\lib\cloudscape\c
loudclient.jar;C:\j2sdkee1.3.1\lib\classes;C:\j2sdkee1.3.1\classes;C:\j2sdkee1.3
.1\lib\j2ee.jar;C:\j2sdkee1.3.1\lib\toolclasses;C:\j2sdkee1.3.1\lib\j2eetools.ja
r;C:\j2sdkee1.3.1\lib\locale;;C:\Program Files\Java\j2sdk1.5.0\lib\tools.jar;C:\
j2sdkee1.3.1\lib\jhall.jar
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\nForce
INCLUDE=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\
J2EEJARS=C:\j2sdkee1.3.1\lib\j2ee.jar
J2EETOOL_CLASSES=C:\j2sdkee1.3.1\lib\toolclasses
J2EETOOL_JAR=C:\j2sdkee1.3.1\lib\j2eetools.jar
J2EE_HOME=C:\j2sdkee1.3.1
JAAS_OPTIONS=-Djava.security.auth.policy=C:\j2sdkee1.3.1\lib\security\jaas.polic
y
JAVAHELPJARS=C:\j2sdkee1.3.1\lib\jhall.jar
JAVATOOLS=C:\Program Files\Java\j2sdk1.5.0\lib\tools.jar
JAVA_COMMAND=C:\Program Files\Java\j2sdk1.5.0\bin\java -Xmx128m -Djavax.net.ssl.
trustStore=C:\j2sdkee1.3.1\lib\security\cacerts.jks -Djava.security.auth.policy=
C:\j2sdkee1.3.1\lib\security\jaas.policy
JAVA_HOME=C:\Program Files\Java\j2sdk1.5.0
JMS_CLASSESDIR=C:\j2sdkee1.3.1\classes
JMS_DB_PATH=C:\j2sdkee1.3.1\repository\FINAL-LC2\db\
JMS_HOME=C:\j2sdkee1.3.1
JMS_RI_JDBC=C:\j2sdkee1.3.1\lib\system\cloudscape.jar;C:\j2sdkee1.3.1\lib\system
\tools.jar
LIB=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\
LIBDIR=C:\j2sdkee1.3.1\lib
LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0
,PERSISTENT_SSL:1060
LOCALEDIR=C:\j2sdkee1.3.1\lib\locale
LOGONSERVER=\\FINAL-LC2
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\BORLAND\BCC55\BI
N;C:\Program Files\Java\j2sdk1.5.0\bin;D:\apache-ant-1.6.0-bin\apache-ant-1.6.0\
bin;C:\j2sdkee1.3.1\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0a00
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SSL_OPTIONS=-Djavax.net.ssl.trustStore=C:\j2sdkee1.3.1\lib\security\cacerts.jks
SystemDrive=C:
SystemRoot=C:\WINDOWS
SYSTEM_LIB_DIR=C:\j2sdkee1.3.1\lib\system
TEMP=C:\DOCUME~1\nForce\LOCALS~1\Temp
TMP=C:\DOCUME~1\nForce\LOCALS~1\Temp
TOMCAT_HOME=D:\tomcat
USERDOMAIN=FINAL-LC2
USERNAME=nForce
USERPROFILE=C:\Documents and Settings\nForce
VSCOMNTOOLS="C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"Thanks if you took the time to get this far!!!

Similar Messages

  • Classpath question about the " . " notation

    I try to run the class file from the /a/b/c/d directory using classpath:
    java -classpath . MainClass
    But so far this doesn't work. My current directory is /d which is the same as MainClass is in, and I use the " . " notation in -classpath to indicate a search in the current directory, and if I use the " . " then the full name of the class is not required (since I am in the same directory). But I know I am using classpath correctly because in my other try this works:
    java -classpath /a b.c.d.MainClass, when my current directory is /a.
    Thanks for any ideas.
    My directory structure is as follows:
    a
    b
    c
    d
    MainClass.class
    package b.c.d;
    public class MainClass {
      public static void main(String[] args) {
    System.out.println("Test");
    }

    So, basically no matter where I tell the classpath to look for a class, or what is my current directory I have to *always" include the full-qualified name for the class? Is that correct? I couldn't find that specific piece of information in the java tutorials...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error: Configuration file /model/common/bc4j.xcfg is not found in the classpath???

    Hi Everyone,
    My Jdev version is 11.1.2.3.0.
    I have developed one ADF application and was working very fine.
    But the Jdev got crashed so i re-installed the same version but the application which was running earlier is not working now. I tried by installing different versions of Jdevelopers but none seems worked for me.
    Error is given below:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:471)
    at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
    What is this error about?
    How can i solve this error t make my application to run?
    Please give ur valuable suggestions...
    Thanks.

    Configuration file bc4j.xcfg not found in the classpath.

  • Error Configuration File bc4j.xcfg is not found in the classpath

    I am new to JDeveloper and ADF, and am suffering through the steep learning curve. This story may prove useful to someone, someday.
    I just finished resolving a “bc4j.xcfg is not found in the classpath” error and it added another level of understanding to how things are glued together.
    There is a back story. I had made a first pass at creating a test application. When I was done I started “enhancing” the application. One of the changes was to add a column to a view in the database. Try as I might I could not get that change propagated to the business component. This is still on my to-figure-out list. In frustration I dropped the model and recreated it from the database tables and views. Testing it with the “AppModule” in the model project I could see the view with the new column. However, when I went to run one of my old jspx pages, I now got the dreaded “bc4j.xcfg is not found in the classpath” – and this was for a page that was not using my updated view. As the military expression goes, “Whiskey Tango Foxtrot”.
    It is now working again, and here is what I found.
    I noticed in the error message that it could not find “/cloudapp1/common/bc4j.xcfg”. When I searched for the file I found it in /cloudapp1/model/common/bc4j.xcfg. I went to the project properties for the model project and on the “Project Source Paths” node I saw at the bottom of the page Default Package: cloudapp1.model. Ah Ha! That is where the /cloudapp1/model structure came from. Then I remembered that the first time through I had changed the default package to just cloudapp1. Part of my experimenting with the product. When I quickly rebuilt the model project I did not do that.
    Next I found the DataBindings.cpx that one note alluded to. It is in the ViewController project. There I found an “OC4JDataControl” section. In there was and entry Package=”cloudapp1”. This was the original package name. When I rebuilt the model, this was not updated. Anyway, I changed it to Package=”cloudapp1.model”. [ Insight:  When you first build an app it can make some good guesses about what is needed, but when you start adding and dropping projects it is much harder to guess how they are glued together.]
    Raising a cup of coffee in triumph I re-ran the test page.
    Dang! Still a bc4j.xcfg not found in the classpath – but this time the path mentioned matched the path where I knew the file to be.
    I am nothing if not stubborn. I knew the problem just had to be in the ViewController project, because the AppModule in the model project worked. So, I started going through all of the project properties. I finally came across something called “Dependencies” that had big ugly red circles with an x in them. Ah ha. This is what tells the ViewController what other projects (like the business model project) this ViewController is dependent on. Although the editing process it not obvious I eventually pointed it to the new model project. [Deepening insight.]
    When I re-ran the test page it worked! Coffee finished. Story with a happy ending.
    Summary:
    1.     Make sure the package name in the ViewController DataBindings.cpx matches the one in your model project.
    2.     Make sure the ViewController Dependencies entry points to the model project.

    Thought I'd add a little bit more to this post I found helpful.
    I'm creating an application which uses other application ViewController projects deployed as library .jar files. If your .jar ViewController project deployment profiles don't have your Model project as a dependency, you will get the .bc4j error as well.
    This can be confusing when the ViewController pages function correctly when run within their own application context, but somehow lose their bc4j when deployed as a .jar.
    Hope that helps someone down the road.

  • JBO-33001: Configuration file /oracle/apps/crmCommon/activities/activityManagementService/applicationModule/common/bc4j.xcfg is not found in the classpath.

    I am trying to consume a base model which is available in the Customer.jws (AppCmmnCompActivitiesPublicModelActivityManagement) to my Mobile UI project available in Sales.jws (SalesMobilePublicUi). We have added proper Databindings.cpx entry for accessing the applicationModule present in the model.
    On deploying the sales mobile app, I get the following ConfigException:
    JBO-33001: Configuration file /oracle/apps/crmCommon/activities/activityManagementService/applicationModule/common/bc4j.xcfg is not found in the classpath.
    The bc4j.xcfg mentioned in the above path actually contains the entry. On checking about this issue, I found out that the prominent solution would be model project should be added as Dependencies to the UI project. But the UI is in different workspace (Sales.jws) and so the list of dependencies shown are those of this workspace only, whereas the model is present in Customer.jws and it does not come under the dependencies list.
    How can this issue be resolved? Please let me know any pointers on solving this issue.

    Build an adfLibrary from the model in the Customers.jws and add this adfLibrary to the other ui project. This will get you the dependency.
    Timo

  • Help, how to install jvm and set the classpath using a batch file

    hello,
    i have created my java application and now have to create an installable / batch file which will install the JVM on the users machine and also the java packages such as javamail and the class files that i have created . it also has to set the classpath.
    i would like to know if anyone can tell me how to go about iti.e. how can i install the JVM using a batch file and then place the javamial packages etc in the apropriate directory .
    or is it advisable to explain it to the user how to go about it in tht user manual.
    and would also like to know that if i install the JVM will the path for the java.exe be set
    or will i have to set the path explicitly from the "batch file" so that the user can run the application without and problem just by running the java command followed by filename from the command prompt.

    hi,
    I have windows and I use it.
    The only problem with the free edition is that you can only create 1 launcher and that during the installation you get 1 popup showing that the installer was created with an unregistered version.
    Stijn

  • How to load a properties from path that is relative to the classpath

    Hello;
    I need to load a set of properties from a propertie file from inside and EJB. I need to do so that I don't set the full absoulte path of the property file. In brief I don't want to be dependent on the file system struture instead I want to read the property file relatively to the package path name.
    Here is my code:
    package packagename.com;
    import packagename.com.*;
    import java.util.*;
    import java.io.*;
    public class PropDemo {
    public static void main(String[] args) {
    public static final String PROP_FILE_NAME
    = "configuration.properties";
    File inputFile = new File(PROP_FILE_NAME);
    Properties prop = new Properties();
    try {
    FileInputStream fis = new FileInputStream(inputFile);
    prop.load(fis);
    } catch (Exception e) {
    Any body have an idea how to so.
    Regards
    mal

    I realize that you are trying to be a pain in the arseNot really. I know that I spent about a day figuring it out and that was after skirting around the issue for a about a year.
    with that reply, but we can look here:
    public void load(InputStream inStream) throws
    IOExceptionReads a property list (key and element pairs) from the
    input stream. The stream is assumed to be using the
    ISO 8859-1 character encoding.
    The original post suggests the author already knows how to load from a file. So this doesn't help at all.
    And possibly GASP cross reference this entry in
    Class:
    public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method
    returns null if no resource with this name is found.
    The rules for searching resources associated with a
    given class are implemented by the defining class
    loader of the class.
    Now you may equivocate that the docs don't
    specifically state that the classpath is where
    resources are searched for, but I would maintain that
    any Java developer worth anything should know this.Really? So where, in the above entry, does it explain the impact of the "/" character at the beginning of the string?
    I know how classes are searched for. I know the impact of the class path. How that impacts a 'resource' is less clear. Particularily since the "/" character has nothing to do with loading classes.
    >
    This should be Java 101. Advanced Topics should be
    something that affect people who have programmed Java
    for years. (This is usually something that first year
    programmers work out). If this is representitive of
    the kinds of questions that qualify as "Advanced" then
    this forum will become basically useless.So an opposing opinion...this is an advanced topic. Nothing in the java docs makes it clear. And it is even less clear the context of a container.

  • Adding a jar to the classpath of an executable jar (mixing -jar and -cp)

    Hello,
    frankly I hesitated over posting this to "New to Java"; my apologies (but also, eternal gratefulness) if there is an ultra-simple answer I have overlooked...
    I integrate a black-box app (I'm not supposed to have the source) that comes packaged as an executable jar (with a Manifest.MF that specifies the main class and a bunch of dependent jars), along with a few dependent jars and a startup script. Long story short, the application code supports adding jars in the classpath, but I can't find a painless way to add a jar in its "classpath".
    The app's "vendor" (another department of my customer company) has a slow turnaround on support requests, so while waiting for their suggestion as to how exactly to integrate custom jars, I'm trying to find a solution at the pure Java level.
    The startup script features a "just run the jar" launch line:
    java -jar startup.jarI tried tweaking this line to add a custom jar in the classpath
    java -cp mycustomclasses.jar -jar startup.jarBut that didn't seem to work ( NoClassDefFound at the point where the extension class is supposed to be loaded).
    I tried various combination of order, -cp/-classpath, using the CLASSPATH environment variable,... and eventually gave up and devised a manual launch line, which obviously worked:
    java -cp startup.jar;dependency1.jar;dependency2.jar;mycustomclasses.jar fully.qualified.name.of.StartupClassI resent this approach though, which not only makes me have to know the main class of the app, but also forces me to specify all the dependencies explicitly (the whole content of the Manifest's class-path entry).
    I'm surprised there isn't another approach: really, can't I mix -jar and -cp options?
    - [url http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html]This document (apparently a bible on the CLASSPATH), pointed out by a repited forum member recently, does not document the -jar option.
    - the [url http://download.oracle.com/javase/tutorial/deployment/jar/run.html]Java tutorial describes how to use the -jar option, but does not mention how it could play along with -cp
    Thanks in advance, and best regards,
    J.
    Edited by: jduprez on Dec 7, 2010 11:35 PM
    Ahem, the "Java application launcher" page bundled with the JDK doc (http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html) specifies that +When you use [the -jar] option, the JAR file is the source of all user classes, and other user class path settings are ignored+
    So this behavior is deliberate indeed... my chances diminish to find a way around other than specifying the full classpath and main class...

    I would have thought that the main-class attribute of the JAR you name in the -jar option is the one that is executed.Then I still have the burden of copying that from the initial startup.jar's manifest. Slightly less annoying than copying the whole Class-path entry, but it's an impediment to integrating it as a "black-box".
    The 'cascading' behavior is implicit in the specification
    I know at least one regular in addition to me that would issue some irony about putting those terms together :o)
    Anyway, thank you for confirming the original issue, and merci beaucoup for your handy "wrapper" trick.
    I'll revisit the post markers once I've actually tried it.
    Best regards,
    Jérôme

  • [b]Need to access a file which is not specified in the classpath[/b]

    Hi everybody ,
    I need your help to proceed with my application. I've tried accessing a file without setting it in Classpath using getResourceAsStream(..), but i'm getting an error.
    error :
    java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:61)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
    at abc.func(LoadProp.java:13)
    at LoadProp.main(LoadProp.java:35)
    Application :-
    import java.io.* ;
    class test
    public void func(String file )
    String thisLine ;
    try
    InputStream is = test.class.getClassLoader().getResourceAsStream(file);
    System.out.println("File load successful");
    BufferedReader myInput = new BufferedReader(new InputStreamReader(is));
    while ((thisLine = myInput.readLine()) != null) {
    System.out.println(thisLine);
    catch (Exception e)
    System.out.println("Inside Catch");
    e.printStackTrace();
    public class LoadProp
    public static void main(String args[])
    String testname = System.getProperty("propfile");
    System.out.println(testname);
    test t = new test() ;
    t.func(testname) ;
    System.out.println("End Main!") ;
    Output:-
    test.properties
    File load successful
    Inside Catch
    java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:61)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
    at test.func(LoadProp.java:13)
    at LoadProp.main(LoadProp.java:35)
    End Main!
    Anyone of you help me to get rid of this problem..
    Thanks & Regards
    BK

    It has to be in the classpath for getResourceAsStream
    to "get" it.So if your question is really about needing to read a file which is not in the classpath and won't be, then as long as you have the path to that file, just use FileInputStream to read it.
    InputStream is = new FileInputStream(pathToFileHere);

  • Eclipse: what to include in the classpath in order not to export the source

    Hi,
    When exporting a war file from Eclipse and unchecking the Export Source file checkbox, I am getting the source code in my war file.
    I think this is related to the classpath. Does anyone know what should I do??
    Thanks.

    Its not about classpath, it about the ant script you are using to build the war file. Make sure that the script doesn't extract all the source code into war file.

  • Does the plug-in Know the classpath?

    I have an aplication using classes which are not in the jdk (1.3.1_01). These classes are in a jar file in a directory and this directory is pointed by the classpath. Of course the application works fine.
    If I convert this program to a JApplet, the plug-in doesn't find my classes, as I'm told from the Java Console.
    So, where should I put my jar file in order to be seen by the plug-in?
    Thanks.

    ok. Thanks. Now I still have a little problem. I installed the plug-in, but it seems that the "SYSTEM" is not informed about it, so when I try to execute the first applet, someone tries to install again the plug-in and we get two plug-ins installed with different names. As the two plug-ins were installed in the same place you only can unistall one.
    How can I tell the SYSTEM that the plug-in is already installed?
    Thank you again.

  • How do you add a jar to the classpath?

    I'm trying to load a driver for MySQL, but the program doesn't seem to find the driver. I get an exception everytime. I keep seeing references about adding the jar (mysql-connector-java-5.1.6-bin.jar) to the classpath, but I don't know how to do that. Also, do I only that the jar, because there are other files along with it (src, com, etc.). I'm running Windows XP and using Eclipse.
    import java.sql.*;
    public class Driver {
         public static void main (String[] args) {
              try {
                   // Step 1: Load the MySQL driver.
                   System.out.println("BP01");
                   Class.forName("com.mysql.jdbc.Driver");
                   System.out.println("BP02");
              } catch (Exception e) {
                   System.err.println("Got an exception! ");
                   System.err.println(e.getMessage());
    }

    In Windows Explorer or the Command Prompt, try changing your directory to what the message about not finding the JAR in the repository says (C:\Documents and Settings\xxx\Desktop\mysql-connector-java-5.1.6\) and verify that something called mysql-connector-java-5.1.6-bin.jar! exists there.

  • Setting up The CLASSPATH

    I am trying to start my own package, however there was no classpath varable by default in the windows 2000 environment variables, I therefore created a user classpath variable and put the location of my package as a path, i have however had no success can anyone please offer me some help
    Thanx

    Here's some info on setting the classpath: http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html
    This is how you set the classpath in Windows 2000: right click My Computer, select Properties, select Advanced, Environment Variables. Click New to create a new variable. Enter CLASSPATH as the name of the variable and a list of directories separated by semi-colons as the value. Click, OK, OK.
    Note: You must close and re-open your command prompt window after adding or modifying environment variables.
    After re-opening the command prompt window type: echo %CLASSPATH% to see how your classpath is currently set.
    About classpath and packages: Suppose your class in in package com.mycompany.mypackage and suppose your class files are in the directory C:\stuff\com\mycompany\mypackage. In that case you would have to set your classpath to C:\stuff (i.e., the base directory of your package).
    If you get any error messages, please copy and paste them here.
    Jesper

  • About the PIM(Personal Information Manager)

    Hi
    Hello friends
    i will get very important information about the PIM(personal Information Manager)
    that manages the personal database in Handheld devices such as PDA,Mobiles,Cells etc
    also i heard that it (PIM) should be downloaded seperately i search many times on sun's product web but i don't get the PIM
    please tell me where i can get downloaded it the PIM?

    Well directly from the J2ME PIM website ( [http://developers.sun.com/mobility/apis/articles/pim/index.html|http://developers.sun.com/mobility/apis/articles/pim/index.html] ) is this statement:
    "Personal information management (PIM) refers to the ability to manage in electronic form the kinds of personal data that broad classes of users want handy, such as appointment books, contact directories, and to-do lists."
    We're talking about accessing the actual PIM applications on the device (i.e. the Calendar, Contact List, etc. native to the specific phone/pda/device).
    the javax.microedition.pim package is an optional package, meaning it is not part of the core MIDP/CLDC APIs. So, yes, you have to download a separate package and place the library in your classpath in order to compile on your system.
    Now the next problem you're going to run into is "does your target device support this optional package". There is a reference implementation for PocketPC OS from IBM that you can find here: [http://www-106.ibm.com/developerworks/library/j-pda-op|http://www-106.ibm.com/developerworks/library/j-pda-op] . However if you're trying to perform this on a cellphone (for example) the phone's J2ME implementation is going to have to have support for JSR 75 for this to work at all. I don't know where there is a definitive list of phones that support JSR 75, but I believe BlackBerry's with version 4.2 or newer (for example) do support this package. I believe some Motorla, Erickson, Nokia and other phones support this optional package.
    I read somewhere that the following line of code should tell you whether a device supports JSR 75 or not:
    System.getProperty("microedition.io.file.FileConnection.version"); If this returns null then the system does not. If it returns a non-null string, then it does at some level.
    HTH

  • Jar File executes without the CLASSPATH being set???

    Hello all:
    I have been writing an application with JBuilder 4.0 Professional. I have finished the program and then let JBuilder create a JAR file. About the first 5 times I created the JAR file, I could never get it to execute from the command line. However, the last time I created the JAR file, I doubled clicked on it and it executed by using javaw. I had the CLASSPATH pointing to the file. I later removed the CLASSPATH variable, and the JAR file still executed. My MANIFEST.MF file includes the package name(not classpath) and the main class(which contains the public static void main method).
    I installed the JAR file and the JRE on another computer and it would not work. Can anyone give me some information??? Thanks in advance.

    probably this is due to the fact on your windows explorer under view - options, File Types tab you have the executable jar file pointing to a jdk.
    click on Executable Jar File and click edit then click on open in the Actions box (if this isn't here then this isn't the reason, sorry) and click edit. a pop up will appear with the java exe path - this is what the app is running from.
    gaz

Maybe you are looking for

  • How to open a .mrc file?

    I need to download an order report from a vendor site (Ingram Books).  The file has a .mrc extension.  I have been unable to find a application that will open this file.  Any suggestions?

  • Disposition function in RICH POD

    Hi Everyone, I have assigned NC code(F001) with disposition group(with disposition functions-return(previous) and return(any previous)) for an operation (OP1). when i logged NC for that NC code F001 in RICH POD disposition function list is not gettin

  • ABAP Editor: OSS 657448 - how to replace a transactioncode

    Hello, I have a problem to implement a modification recommended by OSS647448. The navigation with the editor via modification overview fails using function "modification overview". Now I want to implement the correction explained in OSS647448, which

  • VGA-enabled app for projecting docs in iPad 1

    I'm looking for a VGA-enabled app able to project simple text and PDF documents to a projector through a VGA adapter on an iPad 1. There appear to be lots of VGA-enabled apps for projecting things, but few of them seem to work with iOS 5. Many of the

  • How to add SWC frame work to flex 2

    hi, i Want to use flexmdi framework for one of mine project. how to do this?. i know simple one that just adding the *.SWC to flex ADD SWC. i did it and it is not working. is there steps to do this?.. this is not question for only flexmdi, i dont kno