Java SE 7 I course

http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D67234GC10
This page gives me "Your query didn’t match any course descriptions. Please try again."
The course for that exam does not exist?

Ok, if I switch to US, course description loads. If I switch back, then it's back to MIA again.
When it works for you, do you have the correct country/region for your location selected in the header? (next to your profile's name)

Similar Messages

  • Beginning java programming in a course from home

    hi, i've recently started working on a java course, learning from home and am a bit stuck on what it all means really as my level of english isnt very good.
    it says i have to write a class to represent a calendar date, and then write a program that instantiates 2 of these date objects, initializes their member variables and print them out.
    Would someone please be abel to help me with an example of this,
    I would be so grateful!!!
    from
    waynemorgan86

    not compiled... not unit tested... but commented to the beejeepers.
    //DateStringExample is an example of a simple java class. It creates two dates,
    //initialises their member variables, and prints both values.
    class DateStringExample
         //the DateString class encapsulates all the variables and methods which
         //enable is to store a date as a String, and retrieve it again.
         private String DateString {
              //a "member" variable... note that it is private meaning that it is
              //visible only within the DateString class... so other classes can't
              //see it, allowing you to restrict access to this value, and validate
              //value when it is "stored".
              private String date;
              //a default contructor ("no arg" constructor) nb: if you don't
              //specify a default contructor java creates an empty one for you.
              DateString() {
                   //set the value of the date variable in this instance of the DateString
                   //class to todays date, which is the default value of a Date object.
                   this.date = (new Date).toString;
              //a "setter contructor" allows you to create a new DateString and
              //set it's value in one easy move.
              DateString(String date) throws Exception {
                   setDate(date);
              //a "setter" validates the supplied value and sets the member variable.
              void setDate(String date) throws Exception {
                   if (date = null) throw Exception("null date");
                   try {
                        Date tmp = DateFormat.parse(date);
                   } catch ( ParseException e ) {
                        throw new Exception("invalid date " + date, e);
                   this.date = date;
              //a "getter" returns the current value of the member variable.
              DateString getDate() {
                   return(this.date);
         //this is the special main method which java run's automatically when
         //you run the "program"
         public static void main(String[] argv)
              try {
                   //get me an instance of a DateString called today, which contains
                   //todays date (as a string);
                   DateString today = new DateString();
                   //get me another instance of a DateString called today, which contains
                   //tomorrowsa date
                   DateString tomorrow = new DateString("2006-09-20 12:46:00");
                   //output the two values
                   System.out.println("today is "+today+" and tomorrow is "+tomorrow);
                   //try to set tommorow to an invalid date, and print again
                   tomorrow.setDate("2006-02-31 00:00:00");
                   System.out.println("today is "+today+" and tomorrow is "+tomorrow);
              //catch any errors, and just report them to the standard error stream.
              } catch (Exception e) {
                   System.err.println(e);
    //NOTES:
    //* This whole class is obviously a complete waste of time, except as
    //      a simple example of a class to newbie java programmers.
    //* The Java language provides a rich featured set of classes for date manipulation.//and a few obvious bugs... hand this in as is and you will fail.
    corlettk: removed dodgy BadDateStringException, I think.

  • About Sun Certified Web Component Developer for the Java 2 ... course

    i want to know if i take the Sun Certified Web Component Developer for the Java 2 course,then could i write j2EE application with oracle envirmet and the websphere enviriment or should i take extra course if i mant to work in any of these enviroments

    You can write j2EE application for all this enviroments. The code is the same, with little diferences in the applicantion servers configuration files.
    For more information try: http://www.sun.com/training/certification/java/java_busj23e.html
    "The Sun Certified Web Component Developer for J2EE Platform certification exam is for Sun Certified Programmers (any edition) who are using the Java technology servlet and JavaServer Pages (JSP) application program interface (APIs) to develop Web applications. Prior to beginning the Sun Certified Web Component Developer program, you must be a Sun Certified Programmer for the Java platform (any edition)."
    "The Sun Certified Business Component Developer for the Java 2 Platform, Enterprise Edition 1.3 exam is for programmers and developers who are responsible for designing, developing, testing, deploying, and integrating Enterprise JavaBeans (EJB) applications. It is also for those specializing in leveraging the Java 2 Platform, Enterprise Edition (J2EE platform) technologies used to develop server-side components that encapsulate the business logic of an application. Prior to beginning the Sun Certified Business Component Developer program, you must be a Sun Certified Programmer for the Java platform (any edition)."

  • I would like to know which Sun Cert JAVA Course should I take ???

    I am a very good C programmer that is trying to learn Java programming.
    I know my way around all the various programming statements such as if-then-else, switch etc etc ...
    I know the basics of an Applet and a Stand Alone application ...
    I feel that I need some grounding on OO Technology ...
    I would like to learn JAVA from where I am ...
    I have also been reading up a lot on Java Programming lately ...
    I am more of an Intermediate programmer ...
    I have seen the Sun Certified Java courses web page and is quite confused by the many assortment of courses available ...
    I would like to ask which Java Course is right for me at my level of programming experiences ???
    Thanks in advance !!!
    Andy

    www.jcert.org has the information laid out a little better. I picked up Java without a formal course and I had about the same specs as you (although I had done a fair amount of c++ work). I would suggest the Java book by van der Linden (I know I'm not spelling the name right). I think it's called Just Java 2. Also Thinking in Java by Eckel has gotten good recommendations. For exam prep, the Exam Cram book by Brogden is highly recommended, but it won't teach you OO.

  • Help with java course

    hello i'm a new java student and i am a bit stuck ,
    the question i am set is this :-
    Design and write a program which prompts a user to enter a sequence of 10 integers which are summed and the total displayed. IF the user imputs a negative number it is ignored i.e. the running total is not updated. the user wil not beable to imput any more then 10 numbers even if some of then are negative numbers.
    this is what i have so far,
    import java.io.*;
    class Course_io
    public static void main(String[] ars)
         throws IOException
         int num,Number_Count=0, Total_Count=0;
         System.out.println("imput a number");
         num = Course_io.readint();
         while(Number_Count<10)
              if (num>0)
              Number_Count = Number_Count + 1;
              else
              Number_Count = Number_Count + 1;
              Total_Count = Total_Count + num;
         System.out.println("imput a number");
         num = Course_io.readint();
         System.out.println("The Total was" + Total_Count);
    course_io is this (it was provided by my course):-
    import java.io.*;
    public class Course_io {
         public static int readlnt()
              throws java.io.IOException
              DataInputStream str = new DataInputStream(System.in);
              String input;
              int res = 0;
              Integer num = new Integer(res);//create integer object
              input = str.readLine();//read input and return a string
              return num.parseInt(input);//convert String to an int and return
              }// end of read method
         }//end of class number
    i don't want you to tell me the answer just give me a few hintas and a push in the right direction.
    thanks in advance
    Anthony

    i tryed this,
    import java.io.*;
    class Course
    public static void main(String[] ars)
         throws IOException
         int num,Number_Count=0, Total_Count=0;
         do{
         System.out.println("imput a number");
         num = Course_io.readlnt();
         if (num<0)
                   Number_Count = Number_Count + 1;
                   Total_Count = Total_Count + num;
                   else
                   Number_Count = Number_Count + 1;
         while(Number_Count<10)//supost to be less then 10 but need to do loop first
         System.out.println("imput a number");
         num = Course_io.readlnt();
         System.out.println("The Total was " + Total_Count);
    but ended up with loads of errors, the program as it is won't sum the nuimberes entered
    any help would be great
    thanxs
    anthony

  • Need Java for online course. Java does not work with Mavericks or times out quickly?

    After upgrading to Mavericks 10.9.3 I am unable to connect to Blackboard through Java for my online courses. Research shows compatability issues. Same issue also occurs with my two Mac Air. is there a solution without taking down firewall and allow all applications?

    You might be able to add the website to the list of excepted sites on the Java System preference.
    You might be able to setup a proxy connection to your server that Java can speak over.

  • How to create and install a toolbar to a browser using java

    Hi all,
    Can any one guide me about how to create and install toolbar to a browser using java ??
    please any one help me about this,i am not getting any idea about this..
    Thanks and Regards
    Sandesh S

    I doubt you can. Those browser toolbars are done by implementing to an API provided by the browser. That API, I don't believe, is provided via Java. But of course, that would be entirely up to the browser, not Java.

  • How to avoid "The application requires an earlier version of Java. "?

    Hello, I deployed a Java applet built like this
    javac -source 1.4 -target 1.4 foobar.javaThe reason why I do it this way, is that many public libraries, have computers that only have Java 1.4 installed (and I found one case with 1.3 but decided not to go that far), and the users have no way to upgrade them. Hence if I want to deploy an app that can be used by most everybody, which is the whole idea of Java, then I have to use 1.4, no choice.
    OK, now I also have users who have the latest Vista and Firefox. On those computers, they see the following warning when my applet tries to run:
    "The application requires an earlier version of Java. Do you want to continue? Run or Cancel The required version of Java, 1.6.0-oem, is not the latest and may not contain the latest security ..."
    Of course, after seeing this kind of warning, I am losing a lot of those users immediately. (and by the way, I am built with 1.4, not 1.6-whatever)
    This message is widely reported on the Internet and the solution is always similar - some variation of "uninstall and reinstall the latest Java".
    This of course is a NON_STARTER. I cannot request my users, to reinstall Java. they won't bother. The whole idea of Java applets, again, is that I write an applet and the user sees it without having to tweak around with their computer.
    So I guess my question is: what can I do in my applet, to prevent these messages from happening on Vista, and at the same time be accessible to public lib computers with Java 1.4?
    And second rhetorical question: why can't Sun get their act together and deploy a platform where I can just write my code according to their specs and it will run according to their specs, without any warnings to scare away half of my users??? Please Sun tell me.
    Mark
    Edited by: Mark_Galeck on Apr 18, 2009 10:33 PM

    Mark.
    [1.4 is EOL|http://java.sun.com/j2se/1.4.2/] so I suggest you target 1.5.
    Youe contention that world should not change because a small proption of near-sighted troglodites insist on wearing frilly collars is complete bunkum. Get over it. Fast.
    If ever I get the chance, I shall tell Sun to continue doing exactly what they are doing with regards to developing the core Java language. Hire the best engineers; go forth and prosper; insist on backwards compatability; and never mind the bollocks (here's the sex pistols).
    ... or maybe one would prefer the MS .NET platform, where no version is at all backwards compatible with any previous one; is supported for just three years; with each CLR occupying a full third of ones modest laptop hard disk?
    Be careful what you wish for. You just might get it.
    ~~ anonCheers. Keith.
    Edited by: corlettk on 19/04/2009 16:27 ~~ Typoes!

  • Using java files with JSP

    Ok, so im pretty new to this JSP lark and have a question.
    I have Java Classes resting in .java files, i need to know how
    do i link these files to my .jsp page so that the classes/variable etc.
    declared with the java files are recognised when they are come
    across in the .jsp file.
    I dont know if I have explained that properly.

    Just include this statement at the top of your jsp:
    <%@page import="yourpackage.yourclass"%>
    The .java files should of course be compiled into .class files prior to using (and you don't include the extension when importing).

  • Regular expressions with boolean connectives (AND, OR, NOT) in Java?

    I'd like to use regular expression patterns that are made up of simple regex patterns connected via AND, OR, or NOT operators, in order to do some keyword-style pattern matching.
    A pattern could look like this:
    (.*Is there.*) && (.*library.*) && !((.*badword.*) || (^$))
    Is there any Java regex library that allows these operators?
    I know that in principle these operators should be available, since Regular languages are closed under union, intersection, and complement.

    AND is implicit,
    xy -- means x AND yThat's not what I need, though, since this is just
    concatenation of a regex.
    Thus, /xy/ would not match the string "a y a x",
    because y precedes x.So it has to contain both x and y, but they could be
    in any order?
    You can't do that easily or generally.
    "x.*y|y.*x" wouldll work here, but obviously
    it will get ugly factorially fast as you add more
    terms.You got that right: AND means the regex operands can appear in any order.
    That's why I'm looking for some regex library that does all this ugly work for me. Again, from a theoretical point of view, it IS possible to express the described semantics of AND with regular expressions, although they will get rather obfuscated.
    Unless somebody has done something similar in java (e.g., for C++, there's Ragel: http://www.cs.queensu.ca/~thurston/ragel/) , I will probably use some finite-state-machine libraries and compile the complex regex's into automata (which can be minimized using well-defined operations on FSMs).
    >
    You'd probably just be better off doing multiple
    calls to matches() or whatever. Yes, that's another possibility, do the boolean operators in Java itself.
    Of course, if you
    really are just looking for literals, then you can
    just use str.contains(a) && !str.contains(b) &&
    (str.contains(c) || str.contains(d)). You don't
    seem to need regex--at least not from your example.OK, bad example, I do have "real" regexp's in there :)

  • Tool to make easy code for making pictures in java

    e.g.
    g.drawLine(10,10,50,100)
    Is there a simple tool where I can draw a line on a screen and that that tool gives me then the right coordinates to put it in the java code?
    Of course this simple line is just an example.
    I want to use this to create advanced pictures in a Java applet.
    I hope you guys understand what I mean. I'm from Belgium and my English is not very very good.
    thx for reading this!

    I'm searching just for a more simple tool with interface of Paint for example where I can make pictures. That tool gives than the right code in java.
    Just like when you in eg Dreamweaver make a webpage and then gereates the html code.
    I'm almost sure this must exist but I can't find a tool like that... :-(

  • Using JDBC in multithreaded Java application?

    Hello everyone
    Is it supported to use JDBC in multiple concurrent threads of a single Java application?
    I intend to use Java 7 (or even Java 8?) from standard Java multi-threaded library to access the following: Oracle 11g/12c and Microsoft SQL Server 2012-2014 and also PostgreSQL 9.4+.
    The Java dababase client application will run on Linux and on Windows (64-bit).
    If its supported to use JDBC in multi-threaded way - will it scale up well or am I better off using mutiple single-threaded Java applications instead?
    Are there any rules to follow when using JDBC from multiple-concurrent threads (such as: do not share any JDBC objects among threads, etc).
    Thank you
    Yuri Budilov

    Is it supported to use JDBC in multiple concurrent threads of a single Java application?
    Of course.
    I intend to use Java 7 (or even Java 8?) from standard Java multi-threaded library to access the following: Oracle 11g/12c and Microsoft SQL Server 2012-2014 and also PostgreSQL 9.4+.
    You should use a separate connection pool for each database.
    See the JDBC Dev Guide and use the latest Oracle driver and the latest connection methods shown in that doc
    http://docs.oracle.com/cd/E11882_01/java.112/e16548/toc.htm

  • JAVA Help, what am I doing wrong?

    HI, I have this class and method
    It runs properly when called upon, but there is an error at the end and the program ceases - not running running back to my program menu,
    anything you can see I'm doing wrong?
    Or is there a better/easier way to do this?
    import java.io.File;
    import java.util.Scanner;
    public class Program{
         public Program(){
              super();
         public void printProgramList() throws Exception{
              PL1[] allstudentObjArray = new PL1[9];
                   Scanner pl2 = new Scanner(new File("test.txt"));
                   int i=0;
              //     boolean found = false;
                   while(pl2.hasNextLine())
                   //Delimit this line with scanner
                   Scanner sa1 = new Scanner(pl2.nextLine());
                   sa1.useDelimiter(":");
                   allstudentObjArray[i] = new PL1(sa1.next(),sa1.next(),sa1.next(),sa1.next(),sa1.next(),sa1.next(),sa1.next(),sa1.next(),sa1.next());
                   i++;
                   }//while
                   for(int i1 = 0;i1 < allstudentObjArray.length;i1++)
                   System.out.println(allstudentObjArray[i1].CourseCode);
                   System.out.println(allstudentObjArray[i1].CrsSub1);
                   System.out.println(allstudentObjArray[i1].CrsSub2);
                   System.out.println(allstudentObjArray[i1].CrsSub3);
                   System.out.println(allstudentObjArray[i1].CrsSub4);
                   System.out.println(allstudentObjArray[i1].CrsSub5);
                   System.out.println(allstudentObjArray[i1].CrsSub6);
                   System.out.println(allstudentObjArray[i1].CrsSub7);
                   System.out.println(allstudentObjArray[i1].CrsSub8);
                   System.out.println("-----------------");     
         }//NEED FOR CLASS
    class PL1
    String CourseCode = null;
    String CrsSub1 = null;
    String CrsSub2 = null;
    String CrsSub3 = null;
    String CrsSub4 = null;
    String CrsSub5 = null;
    String CrsSub6 = null;
    String CrsSub7 = null;
    String CrsSub8 = null;
    PL1()
    PL1(String CourseCode,String CrsSub1, String CrsSub2, String CrsSub3, String CrsSub4, String CrsSub5, String CrsSub6, String CrsSub7, String CrsSub8)
    this.CourseCode = CourseCode;
    this.CrsSub1 = CrsSub1;
    this.CrsSub2 = CrsSub2;
    this.CrsSub3 = CrsSub3;
    this.CrsSub4 = CrsSub4;
    this.CrsSub5 = CrsSub5;
    this.CrsSub6 = CrsSub6;
    this.CrsSub7 = CrsSub7;
    this.CrsSub8 = CrsSub8;
         The text file has data like this
    Test123:ABCD1213:ABCD1896:ABCD1890:ABCD1913:ABCD5513:ABCD1673:ABCD8913:ABCD1278

    My 2c.
    1. Use a list (or other dynamin datastructure) when you do don't know before-hand how-big the list-of-stuff is going to be.
    2. "subjects" is obviously a list-of-stuff... so use some sort of "collection" datastructure to represent it, NOT nine distinct variables (puke!)... in this case we do know how big the list-of-stuff is, because we've just read it from file... so an array will do nicely.
    3. Oh FFS, use meaningful variable and especially class names! Putz!
    package forums;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Scanner;
    import java.util.Arrays;
    import java.util.List;
    import java.util.ArrayList;
    class Course
      private final String id;
      private final String[] subjects;
      public Course(String courseCode, String[] subjects) {
        this.id = courseCode;
        this.subjects = subjects;
      @Override
      public String toString() {
        return id+": "+Arrays.toString(subjects);
    public class CourseManager
      private List<Course> courses = null;
      public static void main(String[] args) {
        try {
          new CourseManager("CourseManager.txt").print();
        } catch (Exception e) {
          e.printStackTrace();
      public CourseManager(){
      public CourseManager(String filename) throws FileNotFoundException, IOException {
        read(filename);
      public void read(String filename) throws FileNotFoundException, IOException {
        this.courses = new ArrayList<Course>();
        Scanner scanner = null;
        try {
          scanner = new Scanner(new File(filename));
          while( scanner.hasNextLine() ) {
            String[] fields = scanner.nextLine().split(":");
            courses.add(new Course(fields[0], Arrays.copyOfRange(fields, 1, fields.length)));
        } finally {
          if(scanner!=null)scanner.close();
      public void print() {
        for ( Course course : courses ) {
          System.out.println(course);
          System.out.println("-----------------");
    }Cheers. Keith.
    Edited by: corlettk on 9/05/2009 14:40 ~~ More succinct.

  • Collection in Java Question

    Hello everyone! I am rather new to the concept of Collections in Java (I have used extensively collections in VB).
    I am trying to find how collections in java work, so I used a CASE tool that automatically generates code. I am trying to model the simplest case of a maritime company that owns some ships.
    However the code that is generated by this tool can not be compiled in JBuilder. I have two classes one called "Company" and another called "Ship". The code is the following one (the errors that I receive are in the code):
    //Company.java
    public class Company
        public final Set getShips()
            if (ships == null)
                return java.util.Collections.EMPTY_SET;
            return java.util.Collections.unmodifiableSet(ships);
    // I GET AN ERROR IN THE FOLLOWING LINE SAYING: "Company.java: cannot resolve symbol: class Ship in class shipcompany.Company at line 31, column 32"
        public final void addShips(Ship arg)
            if (arg != null)
                if (ships == null)
                    ships = new LinkedHashSet();
                if (ships.add(arg))
                    arg.setCompany(this);
    // I GET AN ERROR FOLLOWING LINE : "Company.java: cannot resolve symbol: class Ship in class shipcompany.Company at line 48, column 35"
        public final void removeShips(Ship arg)
            if (ships != null && arg != null)
                if (ships.remove(arg))
                    arg.setCompany(null);
        public Company()
        public Set ships;
        protected String CName;
    //Ship.java
    public class Ship
        public final Company getCompany()
            return company;
        public final void setCompany(Company arg)
            if (company != arg)
                Company temp = company;
                company = null;//to avoid infinite recursions
                if (temp != null)
                    temp.removeShips(this);
                if (arg != null)
                    company = arg;
                    arg.addShips(this);
        public Ship()
        public Company company;
        protected String SName;
        protected int NumOfCrew;
        protected String TypeOfShip;
    } I have read the Java tutorial on collections, but I was wondering if there are any good code samples on Java Collections.
    I am after a code sample that implements a relationship 1 to many like one Company has many ships.
    Thank you very much for your responses. I am sorry for the long post!

    First of all, those errors are telling you there's a CLASSPATH problem. You need to compile and run like this:
    javac -classpath . *.java
    java -classpath . YourMainClassNote the "dot" after "-classpath". That tells the class loader to start looking in the current directory for the .class files it needs.
    Read the Sun coding standards for Java:
    http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
    You're using a VB coding standard. Variables should start with a lower case letter (e.g., change NumOfCrew to numOfCrew).
    Make that Set of ships private, not public.
    You'll have to import java.util.Set and java.util.LinkedHashSet, of course.
    Bad idea having two empty constructors. A constructor should leave a class ready to go, fully initialized. I'd rewrite the Company ctor like this:
        public Company()
            this("", new LinkedHashSet());
        public Company(final String companyName, Collection ships)
            this.companyName = companyName;
            this.ships = new LinkedHashSet(ships);
        }Now your collection of ships isn't null, all ready to go. - MOD

  • Java calling a servlet...

    Hi,
    Is there a way to call a servlet from a Java standalone class (of course I want to pass to the servlet parameters and to retrieve results from the servlet) ?
    Thanks a lot.
    Regards.

    Hi Guru,
    Thanks for the reply.
    In my serlvet I wrote:
    response.getWriter().write("in the doGet method");
    In my Java class, I wrote the following :
                   URL url = new URL("http://server:port//Servlet1/theservlet");
                   BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                   String inputLine;
                   while ((inputLine = in.readLine()) != null)
                        System.out.println(inputLine);
                   in.close();
    I do get the String "in the doGet method".
    But what if I wanted to send Objects ?
    Is there a way ?
    I cannot user session of course....
    Any idea will be welcome.
    Thanks in advance.

Maybe you are looking for

  • "Manual Planning in SAP Retail w/o MAP

    Hi Can we create "Planning Scenario in SAP Retail w/o MAP " ? Can we do manual plannings in SAP Retail w/o BI , MAP? if so whats the limitation? Which are possible  for the following scenrios in SAP Retail w/o MAP /BI 1. Planning Scenario ( Budget Pl

  • How do I perform a back up from my iPhone to my mac

    how do I perform a back up from an iPhone to my mac

  • Applications won't open after error in a update using a Apple G4

    Apple G4 wont open applications, it says application switcher error or error type 3, everthing used to work until when updating the mac a error accured it restarted, now it won't open an application without saying error type 3, or when it boots a bom

  • Can't load audio

    I wanted to install splashy. But something went wrong and some settings cause issues during booting, so I need to rewrite rc.conf and inittab from backup by livecd. When I try to listen to some music, nothing doesn't work. I don't know what to do in

  • Java gui program won't compile.

    The error I am getting in my compiler is missing return statement, then ill add some braces and get a class, interface, or enum expected error, and sometimes when i add some ill end up getting a reached the end without parcing error. Can someone look