Paths with J2EE, J2SE and SDKs...

I am starting j2EE delelopment on OSX.
I have installed J2SE 1.4.2 runtime from the Mac software update mechanism.
I have installed J2SE SDK 1.3.1 and my JAVA_HOME is /Developer/Java/J2SE/jdk1.3.1_02
I have installed J2EE SDK 1.4.1 and my J2EE_HOME is /Developer/Java/J2EE/j2sdkee1.3.1
Now, these are the Linux downloads so they have i386 folders in them (why? it is Java..) and I wonder if this is part of the problem.
"ant -f jboss-build.xml compile" GIVES
expr: syntax error
Error: can't find libjava.so.
Any ideas anyone?
Thanks in advance
Tim

Hi Lance,
Sorry for being a pain, but can I confirm: I need the J2SE SDK installed even though the package for J2EE 1.4 SDK says it contains J2SE SDK, right?
Things are not progressing.
I originally had the EE1.3.1SDK and the SE1.3.1SDK 'installed' so I thought but I could not trust them as I have had problems as even ant would not work (error finding libjava.so) in trying to work through the tutorials.
As the OSX instructions refered to the 1.4, I have downloaded the new EE1.4, but, unlike the file in the instructions, it is a ".bin" --- but what to do with it? Stuffit does not handle it. I do not know the unix commands to make use of it (the install info refers to a beta file that is a zip ELF which is not the same) so I am stuck again.
Hope to get progress during this w/e
Thanks in advance
Tim

Similar Messages

  • Select path with same swatch and apply a new swatch

    I am trying to write a script that will select a line based on a swatch name, apply a new swatch, set the stroke, dash and miter of the line...and then create a new layer, change then name of the layer, and then move the selected items to the newly created layer.
    All I could seem to accomplish was renaming a swatch.
    var swatchName = app.activeDocument.swatches;
    if (swatchName.length > 0) {
        for (i=0; i < swatchName.length; i++){  
            changeName(swatchName[i]);
    function changeName(swatchObject){
                     if (swatchObject.name == "PANTONE Orange 021 C"){                     
                        swatchObject.name = "021 (Orange)";
                    if (swatchObject.name == "PANTONE Red 032 C"){                     
                        swatchObject.name = "032 (Red)";
    So the goal of what I would like it to do is look for all paths with the stroke color set to "PANTONE Orange 021 C" then have it change the swatch name to "021 (Orange)". After that apply the stroke, dash and miter. Create a new layer named "021 (Orange)". Then send all of the selected lines to that layer.
    PLEASE HELP AS I HAVE 200+ files to do this task to. Using a windows machine with CS3. Trying to write in javascript.

    This would be the way to rename 2 existing swatches… The GUI pallet can be a little sticky in updating but it works…
    #target illustrator
    var docRef = app.activeDocument;
    var a = docRef.swatches.getByName('PANTONE Orange 021 C');
    a.name = '021 (Orange)';
    var b = docRef.swatches.getByName('PANTONE Red 032 C');
    b.name = '032 (Red)';
    redraw();
    My mistake… Looks like this Jive stuff gave you an unwanted bump from nowhere? Didn't look at the date…

  • Path with anchor points and bezier control handles

    I have a text, not converted to outline. Live text.
    I am using IllCS4.
    That is cool thing about hovering the cursor above the text and see hidden path and anchor points only when you hovering exactly above them. But I want them be visible permannently, while I am applying some envelop distort  changes. Then I want to turn visibility off. And how to get permanent visiblity of bazier control handles at  the same time?
    I am lost.
    Tx

    Yes, thank you,
    that is great thing, but when I use it, I see outlines (like a wireframe) of image  only.
    Is there any way to see still image as it is and switch on visibility of object' path with all control points?

  • Direct-Path with (No)Archivelog and recovery

    Hi,
    In a datawarehouse environment, our database is in NOARCHIVELOG. When we do a Insert /*+ APPEND */ on a table withLOGGING attribute, a miniminal redo log is generated.
    We want to switch the database in ARCHIVELOG mode, and change the attribute of the table to NOLOGGING .
    My question is, does instance recovery will work ?
    I made a matrix of the effect of a crash while a direct-path Insert operation :
    Database mode                   Table mode               Instance recovery                      Media recovery
    NOARCHIVELOG                     LOGGING                        OK                                     NOT OK
    ARCHIVELOG                       LOGGING                        OK                                     OK
    ARCHIVELOG                       NOLOGGING                      OK                                     NOT OK
    Do you agree with this matrix ?
    Regards

    Yes instance recovery will work regardless of direct-path and nologgging usage.
    Here is an example with Oracle XE on Windows (database runs in ARCHIVELOG mode and FORCE_LOGGING is not set):
    c:\tmp>rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Jeu. Janv. 12 20:05:32 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: XE (DBID=2642463371)
    RMAN> report unrecoverable;
    using target database control file instead of recovery catalog
    Report of files that need backup due to unrecoverable operations
    File Type of Backup Required Name
    RMAN> exit
    Recovery Manager complete.
    c:\tmp>sqlplus xxx/xxx @nolog.sql
    SQL*Plus: Release 11.2.0.2.0 Production on Jeu. Janv. 12 20:05:48 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL> select log_mode, force_logging from v$database;
    LOG_MODE     FOR
    ARCHIVELOG   NO
    SQL> drop table tnl purge;
    Table dropped.
    SQL> create table tnl(x int) nologging tablespace users;
    Table created.
    SQL> insert /*+ APPEND */ into tnl select object_id from all_objects;
    17971 rows created.
    SQL> commit;
    Commit complete.
    SQL> connect / as sysdba
    Connected.
    SQL> startup force
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size                  1388352 bytes
    Variable Size             658505920 bytes
    Database Buffers          406847488 bytes
    Redo Buffers                4591616 bytes
    Database mounted.
    Database opened.
    SQL> exit
    Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    c:\tmp>rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Jeu. Janv. 12 20:07:34 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: XE (DBID=2642463371)
    RMAN> report unrecoverable;
    using target database control file instead of recovery catalog
    Report of files that need backup due to unrecoverable operations
    File Type of Backup Required Name
    4    full or incremental     C:\ORACLEXE\APP\ORACLE\ORADATA\XE\USERS.DBF
    RMAN> exit
    Recovery Manager complete.
    c:\tmp>Edited by: P. Forstmann on 12 janv. 2012 20:08

  • Install changes my path ( with no auth ) and sets it wrong ?

    Hi,
    oracle installs two jre 1.3.* and 1.1.*.
    Adds the paths to both bin dirs to the system enviroment.
    ( I'd like to be asked if i want to change my enviroment ).
    So i go on convinced i'm using jre 1.4 that i always append at the END of the path
    ( since i do NOT that there are already two jre paths in it )
    But this would be fine, after all, if it worked !!
    Instead i had to spend days trying to understand NoClassDefFoundError(s)
    [ java.sql.DataSource, java.sql.Savepoint ]
    until i discover that oracle forced me to use:
    1. on my system
    2. for any java invocation
    3. with no explicit authorization
    a jre different from the one i wanted to use.
    I froce my program to run on the jre I installed on MY system and ORACLE's program
    ( eg. OCIConnectionPool.java ) wirks fine.
    Regards
    Alessandro Scotti

    Hi,
    oracle installs two jre 1.3.* and 1.1.*.
    Adds the paths to both bin dirs to the system enviroment.
    ( I'd like to be asked if i want to change my enviroment ).
    So i go on convinced i'm using jre 1.4 that i always append at the END of the path
    ( since i do NOT that there are already two jre paths in it )
    But this would be fine, after all, if it worked !!
    Instead i had to spend days trying to understand NoClassDefFoundError(s)
    [ java.sql.DataSource, java.sql.Savepoint ]
    until i discover that oracle forced me to use:
    1. on my system
    2. for any java invocation
    3. with no explicit authorization
    a jre different from the one i wanted to use.
    I froce my program to run on the jre I installed on MY system and ORACLE's program
    ( eg. OCIConnectionPool.java ) wirks fine.
    Regards
    Alessandro Scotti

  • J2ee/j2se and bluetooth

    is it possible to create a program with java that allow your laptop to act as a server and a PDA as a client using bluetooth?
    I'm having a bit of difficulty finding tutorials and the like because they are all J2ME. If anyone knows fo any links that wud be great.
    Thanks for your help
    Dave
    Message was edited by:
    docetees

    Hi,
    You can take a look at:
    http://www.avetana-gmbh.de/avetana-gmbh/produkte/jsr82.eng.xml
    Kaj

  • I have problems with j2ee standalone and de crm server

    Hello guys,
    I have installed a crm server and a j2ee standalone,
    the j2ee intance have been intalled sacesfully but when the java application was deployed, it had ocurred the following error.
    WARNING    2009-03-03 11:21:51
               CJSlibModule::writeWarning_impl()
    Found profile of Java instance JC01 in supposed system based on AS-ABAP C18. Setting hasABAP status to undefined.
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    2009-03-03 11:21:51.808 NW._setHasABAP(undefined)
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.hasABAPswitchABAP:
    SAP system C18 is a ABAP or double stack system. Cannot switch this to a Java standalone system.
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    t_NW_Options.updateRow(, WHERE name='collected'), updating
    ERROR      2009-03-03 11:21:51
               CJSlibModule::writeError_impl()
    CJS-30036  SAP system C18 is a ABAP or double stack system. Cannot switch this to a Java standalone system.
    And now this error show when i want to do something.
    Now I want to uninstall the j2ee but the result is the same.
    Thank you.

    Hi,
    >SAP system C18 is a ABAP or double stack system. Cannot switch this to a Java standalone system
    It seems that your CRM server was installed as a dual stack system.
    Did you change your mind and want now a separate java stack ?
    You have to find how to tell the abap stack to not use its integrated java stack.
    If you find, I will be interested because I intend to do exactly that : separate the abap and java stacks from a CRM 2007 system because this is a mess to manage.
    Regards,
    Olivier

  • J2EE Packaging and manifest Class-Path:

    Does anyone know if Weblogic 6.0 supports the redefined deployment extension mechanism
    that makes use of the 'Class-Path:' entry in the manifest files?
    In our project we have one single .ear file containing a couple of EJB's (.jar
    files) and a Web Application (.war file).
    We are using log4j as logging mechanism and we would like to keep everything in
    the .ear file so that we can make hot-deploys. So we are trying not to make use
    of the classpath in startWebLogic.sh. All of our EJB's and the Web Application
    makes use of log4j.jar. My question is; can I do the following and make it work
    in Weblogic 6.0?
    1. In every EJB .jar file I add the follwing to the manifest file - "Class-Path:
    log4j.jar"
    2. I place the log4j.jar in the root directory of the .ear file.
    By doing this I expect that the ear classloader loads the log4j.jar classes. Am
    I right or do I do something wrong. At least it does not seem to work.
    Using Weblogic 6.0 without service pack.
    Thanks,
    Steen

    This does not work in WebLogic 6.0. It's supposed to be supported in 6.1
    Daniel
    -----Original Message-----
    From: Steen Laursen [mailto:[email protected]]
    Posted At: Wednesday, August 08, 2001 1:32 PM
    Posted To: environment
    Conversation: J2EE Packaging and manifest Class-Path:
    Subject: J2EE Packaging and manifest Class-Path:
    Does anyone know if Weblogic 6.0 supports the redefined
    deployment extension mechanism
    that makes use of the 'Class-Path:' entry in the manifest files?
    In our project we have one single .ear file containing a
    couple of EJB's (.jar
    files) and a Web Application (.war file).
    We are using log4j as logging mechanism and we would like to
    keep everything in
    the .ear file so that we can make hot-deploys. So we are
    trying not to make use
    of the classpath in startWebLogic.sh. All of our EJB's and
    the Web Application
    makes use of log4j.jar. My question is; can I do the
    following and make it work
    in Weblogic 6.0?
    1. In every EJB .jar file I add the follwing to the manifest
    file - "Class-Path:
    log4j.jar"
    2. I place the log4j.jar in the root directory of the .ear file.
    By doing this I expect that the ear classloader loads the
    log4j.jar classes. Am
    I right or do I do something wrong. At least it does not seem
    to work.
    Using Weblogic 6.0 without service pack.
    Thanks,
    Steen

  • UNIX path AND  Do shell script path with spaces

    I am trying to building a interface with buttons to execute shell commands when the button is pressed. Below press button execute code.
    I am new to AppleScript and Xcode and Interface builder. I have read different post referencing spaces but I still don't understand.
    THIS COMMAND DOESN'T WORK IT'S SOMETHING TO DO WITH SPACES.
    How would I fix this to work.
    on clicked theObject
    do shell script "rm /Library/Preferences/com.netopia.netOctopus\ Agent.preferences"
    end clicked
    This works (Below) no spaces in the path
    on clicked theObject
    do shell script "open /System/Library/PreferencePanes/SharingPref.prefPane/"
    end clicked
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.8)  
    ALL   Mac OS X (10.4.8)  

    Camelot's explanation was good, but you don't seem to get it, so I'll take a crack at explaining as well.
    First off, you need to understand what "do shell script" does and does not do. "do shell script" takes a string from AppleScript and passes it to a shell interpreter. It does not check in advance that this string makes sense. (That is impossible to do, in fact.) It just passes it along. The shell interpreter then converts the string into a command, or series of commands, and attempts to run them.
    In AppleScript, quotation marks around something make that something a string. So, for example:
    "rm "
    is a string containing a letter r, a letter m, and then a space. Some commands can also return a string, which can then be stored in a named variable, as for example:
    set a_variable to (the text returned of display dialog "Hi!" default answer "Some text")
    When you wish to put two strings together in AppleScript, you use the & operator, as in:
    "String 1" & "String 2"
    In this example, there is no space at the end of the first string, and none at the beginning of the second, so the result is:
    "String 1String 2"
    All clear so far?
    When a shell interpreter attempts to convert a string into commands, it has to split the string into pieces. A space signifies a break between pieces. In order to put a space into a single item, you can do a number of things. You can put the whole item in quotation marks (single or double), which is known as "quoting":
    '/A/Path/With/A Space'
    or you can put a backslash before the space, which is known as "escaping":
    /A/Path/With/A\ Space
    You can combine quoting and escaping if you do it right. For example, the backslash also lets you use a quotation mark inside a single item which is quoted:
    "/A/Path/With/A Space/And/A\"Quotation/Mark"
    There are further rules and substitutions that sometimes border on the arcane.
    In order to simplify things, Apple created the command "the quoted form of". This command takes a string and returns a new string which is properly set up so that it will be just one item when split up for the command line. It will add quotation marks, backslashes, or whatever.
    So, to put things together:
    "rm " & the quoted form of thePath
    is a way of saying to AppleScript "take the string in the variable named thePath, and quote it for the command line; then stick it on the end of a string containing an r, an m, and a space."
    When you pass this to "do shell script", it will break things up in such a way that it hands thePath to the rm command, which will attempt to remove whatever is represented by thePath. (Adding the "-r" in there just tells the rm command "if this is a directory, get rid of it and all its contents". Otherwise rm will complain if the item is a directory.)
    I think, however, you may just have the path wrong. In one of the spots where you gave the POSIX path, it had a backslash (\) at the end instead of a forward slash (/). As Camelot says, a forward slash means that the item is a directory and not a plain file. But if you really meant the backslash, it suggests that the item is a plain file, but has a space at the end (or some other character that mystifies the command line). It's an escape.
    Try making a new script in Script Editor which says
    ">" & (the POSIX path of (choose file)) & "<" at the end, that's the culprit.
    (And if it won't let you select the file when you run the script, it means that the item is actually a folder.)

  • One point circle path with pen tool

    I have heard or people drawing a circle path with one point and dragging or something like this.  I would really like to be able to do this! Is this possible?

    Absolutely just hold down the shift key while dragging one of the ellipse tools. Add the Alt|CMD key then circle center will be where you start dragging from.  Marque ellipse tool or ellipse tool. Selection can be turned into path.  But the Ellipse tool is better for its a vector tool. Can create shapes layers, Paths and fill pixels... Pen Tool circle is hard but you can use the pen tool to edit the circle path created with the ellipse tool.

  • [svn] 4793: Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

    Revision: 4793
    Author: [email protected]
    Date: 2009-02-02 11:20:06 -0800 (Mon, 02 Feb 2009)
    Log Message:
    Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds
    Fix: When calculating the bounds position we should take into account the implicit scaling factor actualSize/naturalSize. Also did some refactoring, getting rid of the protected method calculateTopLeft.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17734
    Reviewer: Ryan
    tests: mustella gumbo/layout/GraphicElement
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17734
    http://bugs.adobe.com/jira/browse/SDK-17734
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s

    Thank you so much for replying.
    Yes I have removed and reinstalled WMP.
    I had good results with the PD6 application installed on the default path onto the C: drive with the one exception that if the application was launched by accident and the user data path was not available, the PD6 application would blow away my custom user path registry settings. Now that I know what they are I have made a .reg file to repair my registry to my desired user data paths.
    Installing the application on the removable drive appeared to help prevent me from launching the application by accident and overwriting my registry with default user paths.
    So which is the less of the two evils?
    If the application directory is not available, windows media player still tries to launch the .msi for installing PD6.
    If I install the application to the C: drive but the user data to the removable drive, launching the PD6 application without the user data drive will still corrupt my registry settings for a user data path.
    Both these issues seem like a logical (if not easy) fix that should be done in the PD6 application and installation package. I mean really, cannot anyone tell me why windows media player is checking the PD6 application directory? Why in PD4 did we have an option control for setting the user data path from the PD4 application? Why is this option not in the PD6 application, just the installer?
    I am given a choice during installation to move the user data to another non default location. Why else would this be provided if not to accommodate my kind of request to store the user data into an alternate location other than “My Document”. Certainly Palm is not trying to force the users on how to protect and store their personal data?
    Post relates to: Centro (Verizon)

  • J2SE and J2EE Which with what ?

    I am running Windows NT 4.0 server, with SP6a & Windows NT 4.0 work station, with SP6a. On reading the various combinations of J2Se and J2EE, which do I need to match. Also I am using ant 1.5.3 and looking at some CORBA 3 work using JacORB 1.4.1. I have been using J2SDK 1.4.1_02 for general jave work.
    From what I have been reading it looks as if I need J2SE 1.3.1_02 with J2EE 1.3.1.
    What is the real combinations of J2SE and J2EE needed for such a asystem ?
    Also at present I do not particularly wish to move to a Win2000 Server/workstation combintion as yet.
    Thanks
    Omegaall

    You may now download J2EE 1.4 which will be compatible with your existing installation of J2SE 1.4.1_02.
    However, J2EE consists of the application server and additional tools. They are not required, nor are they recommended for heavy duty enterprise work; J2EE is simply a basic "reference" platform for you to get your feet wet on.
    Other alternatives do exist, and if you've tracked down Ant, you probably already know about Tomcat, JBoss, WebSphere and a number of commercial engines. All of these packages essentially take J2EE and extend them further (or are faster, or are more reliable, etc etc).
    If you have been asked to develop COBRA objects - as opposed to, and I stress this, as opposed to - merely being interested in the technology, then I strongly strongly strongly suggest you find out what your customer is using and set up a scheme similar to theirs. By developing to the same platform, you can save yourself a lot of deployment and packaging headaches, and essentially develop the objects "the right way" for that system.

  • J2SE to J2EE, beginning and need help

    I am a J2SE developer and I need to learn J2EE. I am trying to figure out how to compile .java files that I write that use J2EE such as servlets. I am using eclipse and Textpad but I can't get either program to recognize J2EE classes. Is this possible? I have downloaded the J2EE SDK and started with some basic .jsp pages but I am more of a programmer than a web designer, and I really don't like using markup languages(HTML, XML). This is probably really stupid, but can anyone help me out or just give me some starting words of wisdom?

    Make sure <J2EE_HOME>/lib/j2ee.jar is in your classpath:
    DO:
    javac MyServlet.java -cp path/to/j2ee.jar
    OR
    set your CLASSPATH env variable to include j2ee.jar
    OR
    throw j2ee.jar into your <JAVA_HOME>/jre/lib/ext directory.

  • How to use j2se 1.4 logging features with j2ee 1.3

    Hi,
    We have developed an EJB that will run in the j2ee 1.3 container of weblogic 5.0
    We would like to use the logging features of j2se 1.4 in our ejb.
    Can this be done ?
    How do I install and use j2se 1.4 a long side of j2ee 1.3 ?
    Is this a recognised configuration ?
    Many Thanks,
    Mark.

    Is it possible to install j2se 1.4 on the same machine
    that is running weblogic with j2ee 1.3 ? Yes.
    If it is.... How do we do it ?Just install it in different directory - the installer will do this for you by default anyway.
    How do we protect our code running in the j2ee 1.3 container from
    mistakenly using the classes provided with j2se 1.4 ?Thats what PATH and CLASSPATH environment variables are for. Read the tutorials on the left there for more information.
    Do we end up with 2 separate VMs one a implementing
    j2ee 1.3 and one a j2se 1.4 ?You end up with as many as you run.
    Every time you run java (java.exe on windows, just plain java on UNIX) you run the version of the VM that's on your PATH.
    It's quite normal to have (on the same machine) a 1.3 VM running Weblogic and a number of 1.4 VM's as clients of that Weblogic installation.
    I think I'm right in saying that 1.4 VM's are (in some cases) regarded by BEA as supported clients of a Weblogic server running in a 1.3 VM, but you'd have to check their e-docs site for exact details.

  • How to install j2ee 1.4 sdk , and only that nothing else

    hi guys , i am trying to install j2ee 1.4 sdk. i found the link for it on sun "http://java.sun.com/j2se/1.4.2/download.html ", and when i try to install that package . it has everything from
    app sever ,to java 2 sdk std edition to start up . etc .
    but i dont want all this , i just want j2ee sdk 1.4
    see what actully i want is j2ee sdk installation coz when i try writing my program in eclipse and when i say import javax.jms.*; it gives error coz it is not able to find the jar.
    just the way for core java we install jdk what do we install so that we can use servlet,jsp,ejb,jms etc
    please reply immediately , where do i install that stuff from
    thanks in advance

    exactly rene , i explored all of the
    "http://java.sun.com/j2ee/1.4/download.html" . i even
    downloaded " J2EE 1.4 SDK 2005Q2 UR2 " which took me
    half an hour. and when i ran the setup file , it had
    everthing from app server to jsdk 1.5 , but no where
    was j2ee sdk to be found. still exploring without any
    success :-(The "J2EE SDK" is basically nothing but the J2EE.JAR. It comes with that app server download.

Maybe you are looking for