Using Java and EditRocket with iMac?

I am trying to compile a program on my iMac using EditRocket. I have to write programs in Java. I am having no luck on my own and AppleCare couldn't help me either. I cannot locate the Java in my computer and in order to use Editrocket I have to link the compiler to the Javac which I have not been able to figure out how to do. I am having dificulty locating the JDK on my computer and I am having difficulty downloading JDK from java.sun.com as well.
Am I going about this totally wrong? Can someone help direct me to stpe by step instructions so I can get up and running for my class? No one at the college seems to be able to help because everything they use is PC based, however my professor told me that I could use a MAC to do this work because the information is out there.
Is there another program I should be using or something?

its not only possible but easy
http://weblog.raganwald.com/2007/07/javascript-on-jvm-
in-fifteen-minutes.html?retitled
Google:
Java + bsf (bean scripting framework) + scripting
http://today.java.net/pub/a/today/2006/04/11/scripting
-for-java-platform.htmlIam not sure if you are pointing to the same thing; but, Java now supports embedding script, one (only?) being Javascript. I believe this is in version 6.
I don't have access to Sun's site right now but here is a short article on it:
http://www.javabeat.net/javabeat/java6/articles/2007/06/java-6-0-new-features-part-1/2
Message was edited by:
jbish

Similar Messages

  • Configure CRS2008 to using AD and Kerberos with Java application servers.

    Hi All,
    I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server.
    I have create service account in domain controller: CMSACC
    I have create two user account: CRuser1 and CRuser2
    I have create domain group: CRSGroup
    After I had run the setspn in domain controller,I got the message at below:
    Registered ServicePrincipalNames for CN=CMSACC, OU=TEST, DC=BD, DC=com:
        BOBJCentralMS/BDMGTSRV.BD.com
    CMC Setting:
    AD Administration Name: BD\administrator
    Default AD Domain: BD.com
    Add AD Group(Domain\Group): secWinAD:CN=CRSGroup,OU=TEST,D=BD,DC=com
    Service principal name:BOBJCentralMS/CMSACCatBD.com
    I have create a WINNT folder in root directory.Moreover and save bcsLognin.conf and Krb5.ini at here.
    bscLogin.conf:
    com.businessobjects.security.jgss.initiate {
    com.sun.security.auth.module.Krb5LoginModule required;
    krb5.ini:
    [libdefaults]
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    [realms]
    forwardable = true
    BD.com = {
    default_domain = BD.com
    kdc = BDMGTSRV.BD.com
    I have tested the Kerberos,using kinit CMSACCatBD.com password, and got error message at below:
    Exception: krb_error 41 Message stream modified (41) Message stream modified
    KrbException: Message stream modified (41)
            at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
            at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:486)
         at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:444)
         at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:310)
         at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:259)
         at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    My problem is failed to logon CMC and infoview and got error message at below:
    Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserNameatDNS_DomainName, and then try again.
    Actually, I am sucessful to logon Business View manager with CRuser1. However, I fail to logon CMC and infoview and got the above error. Have you any suggestion to solve this problem?
    Ken.

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • Using Java SE 6 with Java FX 2.2 on Mac OS X

    Hello,
    Has anyone tried using Java SE 6 with JavaFX 2.2 on Mac OS X?
    JavaFX 2.2 System Requirements doc states that "For Mac OS X, use Java SE 7 Update 6 for Mac OS X. JavaFX 2.2 has not been formally tested with Apple's Java SE 6 implementation for Mac OS and support is offered only when used with Java SE 7 Update 6 or later.".
    So I guess that means Java SE 6 may or may not work well with JavaFX 2.2 on Mac.
    For some 'bugs' in my app, they simply don't exist if I switch from Java 7 to Java 6?
    One such bug is mentioned in this thread: Re: Unable to play mp3 files with non-English alphabets/characters in the name
    Can people with experiences in this area please share your thoughts?
    Has Oracle done additional Java SE 6 and JavaFX 2.2 compatibility testings since the JavaFX 2.2 System Requirements doc was published (http://docs.oracle.com/javafx/2/system_requirements_2-2/jfxpub-system_requirements_2-2.htm)?
    Thanks.

    Java 6 on Mac is not supported officially and not going to be supported.
    Standalone JavaFX app might work as JDK 6 on Mac was used as dev platform before JDK 7 on Mac became available.
    But this was mostly on older Mac OS X version (up to 10.6) and you may easily hit something that was fixed in Java 7 to support JavaFX better.
    Webstart/Plugin will not work. You need JRE 7 from Oracle.

  • Using ConnBean and CursorBean with a Data Source

    Hi all,
    I',m making a web app. using the Jdev (RUP4) with OA Extension. I looked in the help menu under "About Data-Access JavaBeans and Tags". Here I found the following example, but for some stange reason I cannot get the setProperty to work.
    Example: Using ConnBean and CursorBean with a Data Source This following is a sample JSP page that uses ConnBean with a data source to open a connection, then uses CursorBean to execute a query.
    <%@ page import="java.sql.*, oracle.jsp.dbutil.*" %>
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session">
    <jsp:setProperty name="cbean" property="dataSource"
    value="<%=request.getParameter("datasource")%>"/>
    </jsp:useBean>
    <% try {
    cbean.connect();
    String sql="SELECT ename, sal FROM scott.emp ORDER BY ename";
    CursorBean cb = cbean.getCursorBean (CursorBean.PREP_STMT, sql);
    out.println(cb.getResultAsHTMLTable());
    cb.close();
    cbean.close();
    } catch (SQLException e) {
    out.println("<P>" + "There was an error doing the query:");
    out.println("<PRE>" + e + "</PRE>\n<P>"); }
    %>
    Does anyone know how to set the "Property" to a datasource and make it work?
    Best regards,
    MHCI

    There is no point-and-click (Import Data Source Metadata) way to use an LDAP server as a datasource. You have to use the Java Function provided on dev2dev. If you need help with it, please post here.
    - Mike

  • Can I use Java Creator 2 with old JRE/JDK 1.4.2_07??

    I am planning to install new Java Creator 2 but I am having JRE and JDK 1.4.2_07 and I am using mysql 3.23.55 and I want to integrate it.
    Currently my OS is Windows XP SP2 platform with processor Intel Centrino 1.4 and RAM 256 MB... I know the ram is not sufficient and i am planning to upgrade it.. but the problem is can i still remain to use the old JRE and JDK 1.4.2_07 and i am also using mysql 3.23.55... all the driver and engine are out to date but can i still use it and integrate it with java creator 2?
    The questions are:
    1) Can I use Java creator 2 with those old engine?
    2) What java compiler or development tools i can use to develop java standalone application?
    Thank you

    When the jar file is expanded within Eclipse, it shows that the mail.jar file is built with 1.5.0; I think? Here is the header contents of the MANIFEST.MF file, note "Created by."
    Manifest-Version: 1.0
    Implementation-Version: 1.4
    Specification-Title: JavaMail(TM) API Design Specification
    Specification-Version: 1.3
    Implementation-Title: javax.mail
    Extension-Name: javax.mail
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Implementation-Vendor-Id: com.sun
    Implementation-Vendor: Sun Microsystems, Inc.
    Specification-Vendor: Sun Microsystems, Inc.
    SCCS-ID: @(#)javamail.mf     1.6 05/12/09
    This is causing problems, because anytime I try to use this file, I get signing errors. I have several Web Services built by BAE and Plumtree that are running on 1.4.2; and therefore I am stuck with 1.4.2. I did try to remove the SUN_MICR.* files, thinkning it would resolve the signing issues, but then that caused other problems. I can provide you with code that demonstrates the problem.
    Is there a place where I can get a mail 1.4 jar file built with 1.4.2? that would most likely solve my problems.

  • How to use audio and mic with multipoint server with out it crashing on you

    how to use audio and mic with multipoint server with out it crashing on you when i use them to make calls thru my station (zero client) at the same time it crashes on me and i need to restart the multipoint is there a setting i may have mist that enable's
    them to work at the same time and if posible can i use a non USB device 

    Look for "Single Sign-on Using Kerberos in Java" in google or on Sun's web site. Maybe this paper will help you.
    Claude

  • Sending udp packets using java and receiving it using c

    hi,
    Is it possible to send udp packets using java and receive the same using c??????? if yes.... plz help immediately.

    The biggest issue is data format. The JVM is big endian, with 16-bit characters. The machine running 'C' could be almost anything. A (signed!) byte array is probably the easiest unit of exchange.
    The Java program has its own techniques for storing/retrieving data to/from the byte array - and the C program has its own techniques. ASCII Strings are often the easiest to exchange - just convert the java String objects to byte array and send them.
    apaliwal1 has already given the UDP calls to send/receive the data.

  • PMML Export using Java and ODM 10.2

    I'm attempting to export a model I've built in ODM using Java and the example code in dmexpimpdemo.java. I'm getting an error when trying to set an additional attribute to export the data as PMML.
    exportTask.setFormat(ImportExportFormat.PMML2_1);
    If I call this method (with any ImportExportFormat) I get the exception:
    javax.datamining.JDMUnsupportedFeatureException: Unsupported ExportTask for PMML2_1
    What is the proper way to export a model as PMML using the JAVA APIs?

    PMML Export is not supported by the ODM 10.2. Hence you see unsupported exception.
    ODM 10.2 supports only Oracle native format support for the mining model export and import. For more details about the usage refer to the demo program dmexpimpdemo.java.
    To download sample programs from OTN http://www.oracle.com/technology/products/bi/odm/samples/odm_sample_code_0805.zip
    For decision tree model you can export the model details in PMML format using the DBMS_DATA_MINING.get_model_details_xml. For example, the following query returns the PMML format decision tree model as an Oracle Database XMLType
    select dbms_data_mining.get_model_details_xml('TREE_MODEL').extract('/') AS DT_DETAILS FROM dual
    Regards
    Sunil

  • How do I use Qt and OpenGL with Visual Studio

    Hi! I mainly want to program in C++ and I want to use Qt and OpenGL with Visual Studio.
    I am currently revising C++ and later on i am going to start reading Qt and OpenGL. I have a background of
    Embedded firmware design(C and Assembly).
    The Visual Studio Version I have is 2013 ultimate. How do I use Qt and OpenGL with Visual Studio?
    Thanks
    Alexandros

    Hi ClassicalGuitar,
    The forum supports VS setup and installation. And your issue is not about the forum. I will move the thread to off-topic forum. Thanks for your understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Can't drag and drop nor copy  and past with iMac with OS 10.8.1.

    Can't drag and drop nor copy and past with iMac with OS 10.8.1.  Not with iTunes, MS Word, nor Pages.  No where.  Reboot or relogging in helps for about an hour.  Hard reset worked for a short time. Per Apple support, most likely will reinstall the operation system.  Just wondered if anybody else has run into this.  Did a disk scan, and that was fine.  And did rebooting, holding down CMD+OPT+R, and P..  Deleted all the start up programs.  Checked the internet, no solutions there.  So it all appears to be OS redo time. 

    Do you subscribe to MLB.tv, and if so, did you install the NextDef plug in? If so, read this…
    https://discussions.apple.com/message/19185556#19185556
    I removed the NextDef plug in over 24 hours ago, restarted and haven't had a single issue with drag and drop or cut and paste since.

  • Want To create Zip file  using java,And Unzip without Java Program

    I want to create a zip text file using java, I know Using ZipOutputStream , we can create a zip file, , But i want to open that zip file without java program. suppose i use ZipOutputStream , then zip file is created But for unZip also difftrent program require. We cant open that zip file without writing diff java program.
    Actually i have one text file of big size want to create zip file using java , and unzip simply without java program.Its Possible??
    Here is one answer But I want to open that file normal way(
    For Exp. using winzip we can create a zip file and also open simply)
    http://forum.java.sun.com/thread.jspa?threadID=5182691&tstart=0

    Thanks for your Reply,
    I m creating a zip file using this program, Zip file Created successfully But when im trying to open .zip file i m getting error like "Canot open a zip file, it does not appear to be valid Archive"
    import java.io.*;
    import java.util.zip.*;
    public class ZipFileCreation
         public static void main (String argv[])
         try {
         FileOutputStream fos = new FileOutputStream ( "c:/a.zip" );
         ZipOutputStream zip = new ZipOutputStream ( fos );
         zip.setLevel( 9 );
         zip.setMethod( ZipOutputStream.DEFLATED );
    //     get the element file we are going to add, using slashes in name.
         String elementName = "c:/kalpesh/GetSigRoleInfo092702828.txt";
         File elementFile = new File ( elementName );
    //     create the entry
         ZipEntry entry = new ZipEntry( elementName );
         entry.setTime( elementFile.lastModified() );
    //     read contents of file we are going to put in the zip
         int fileLength = (int)elementFile.length();
         System.out.println("fileLength = " +fileLength);
         FileInputStream fis = new FileInputStream ( elementFile );
         byte[] wholeFile = new byte [fileLength];
         int bytesRead = fis.read( wholeFile , 0 /* offset */ , fileLength );
    //     checking bytesRead not shown.
         fis.close();
    //     no need to setCRC, or setSize as they are computed automatically.
         zip.putNextEntry( entry );
    //     write the contents into the zip element
         zip.write( wholeFile , 0, fileLength );
         zip.closeEntry(); System.out.println("Completed");
    //     close the entire zip
         catch(Exception e) {
    e.printStackTrace();
    }

  • How to use "start" and "duration" with HLS stream

    Hi all,
    is it possible to use "start" and "stop" with HLS stream like rtmp stream?
    If yes, how?
    thanks in advance.

    Hi,
    This is completely player side fucntionality you are asking for. However, I guess default player that comes on safari (iPad), quicktime has the player timeline with stop and start option. But if not, you can create your custom player using exposed api of AVPlayer. Check-out AVPlayer api's.
    FMS, by nature of protocol will respect the request to get the data(in case of client-play-start)  and will not automatically push the data to the client if not asked for by the client (as in case of client-play-stop).
    Thanks

  • Difference between using Java and Non-Java in Webi.

    Hi ,
    I have one more question requesting for an answer.
    Would like to know what is the Difference between using Java and Non-Java in Webi.
    Thank You in advance.
    Appana Ganesh.

    Hi,
    check the Information in following post, the differences are discussed there:
    http://scn.sap.com/thread/3295306
    best regards,
    Victor

  • I use to use ichat and now with mountain lion i only have facetime. i try to keep in touch with my family thru the old ichat, will facetime work as easiely ? is it easy to connect with this app? thanks, gilbert

    I use to use ichat and now with Mountain Lion I only have FaceTime, will this work as easy as ichat? I try to keep in touch with my son and his family, he has a Mac also. I have never tried to do a video chat with my new Mountain Lion. I have set-up FaceTime and thought I would throw the question out before we try and get together.   Thanks,   Gilbert

    Ichat is now called Messages and is in your Applications folder.

  • I have a new time capsule, want to use it in conjunction with iMac G5 and MacBook; laptop runs Snow Leopard  but G5 can't install Snow Leopard, is stuck at OS 10.4.11.  Am I doomed?  Can anyone advise me?  Thanks..

    I have a new Time Capsule, want to  use it in conjunction with an iMac G5 and a MacBook.  MacBook runs Snow Leopard, but G5 (lacking Intel processor) can't install Snow Leopard, is stuck at OS 10.4.11.  Am I doomed?  Will appreciate any advice.  Thanks.

    you should still be able to get a copy of Mac OS X 10.5 (Leopard), which should run on your G5.

Maybe you are looking for

  • Firefox 27.0 will not allow me to have access to my web interface on my xerox 8560 mpf printer.

    I believe the loss of connectivity occurred during the firefox upgrade since I was able to address the printer's web interface earlier. The complete error message is Secure Connection Failed An error occurred during a connection to 192.168.10.102. Pe

  • Transferring Music from iPhone to new computer

    Hello, The computer I normally sync with iTunes has crashed suddenly with an I/O error on the hard disk.  This has left the computer completely useless and now I am trying to manage the music on my iPhone with my work laptop, (Windows PC) but I am on

  • Need a Video Out conenctor from an '09 iMac to an external Monitor

    Hello, As I mention in the subject line, I'm in need of a video only connector to go from my '09 pre-thunderbolt iMac to an external monitor. This connector can go to either a male DV or male HDMI. Thank you!

  • Posting large amount of data via sync web service

    Hi, I'm trying to posting a large data via sync soap adapter and receiver as abap proxy. I'm getting log version status in SXMB_MONI when ever i try to post data >5k. Any idea how to trace it? If got timeout should there be an error message in SXMB_m

  • How much does Apple charge to replace trackpad?

    Hello, Could someone please tell me how much Apple charges to replace a trackpad for a 2009 Macbook (white unibody, model 6,1)?  The Apple stores won't tell me on the phone.  I'm trying to decide if it's less expensive to do it myself, once I factor