Problems compiling code :(

public class room {
// instance variables - a variable for "sea view" and an occupier reference variable set to "null"
private boolean sview=false;
private Occupier oc=null;
* Constructor for objects of class room
*a boolean to set whether the room has sea view, recives a string for name of the occupier
public room(boolean sv, String n)
if (sv==true)
sview=true;
oc=new occupier(n);
* overload Constructor for objects of class room
*a boolean to set whether the room has sea view, leaves occupier "null" if no name was entered
public room(boolean n)
if (n==true)
sview=true;
when i compile i get the following error message -
"cannot find symbol - class Occupier"
im not sure how to fix this.

Java is case sensitive.
Occupier is not the same as occupier.
It might have been:
private occupier oc = null;
(take note of the case)
Edited by: RyanRM on Nov 18, 2007 9:19 AM

Similar Messages

  • Problem compiling code blocks [SOLVED]

    It fails when I try to compile it:
    Error:
    libtool: link: cannot find the library `' or unhandled argument `blocks/src/codeblocks-8.02/src/src/wxAUI'
    make[3]: *** [codeblocks] Error 1
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src'
    make: *** [all-recursive] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    PKGBUILD
    # Contributor: Robert Hollencamp <[email protected]>
    # Contributor: Daniel J Griffiths <[email protected]>
    # Maintainer: Stefan Husmann <[email protected]>
    pkgname=codeblocks
    pkgver=8.02
    pkgrel=7
    pkgdesc="An open source and cross-platform C/C++ IDE"
    arch=('i686' 'x86_64')
    url="http://www.codeblocks.org"
    license=('GPL3')
    depends=('wxgtk' 'bzip2')
    makedepends=('zip')
    options=('!libtool')
    source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2)
    md5sums=('ac15b4b3de50d7650c2f7a8dbcb30f88')
    build() {
    cd $pkgname-$pkgver || return 1
    ./configure --prefix=/usr --with-contrib-plugins=all || return 1
    make || return 1
    make DESTDIR="$pkgdir" install || return 1
    rm $pkgdir/usr/share/$pkgname/plugins/*.la
    I really don´t have a clue on what is wrong?
    Last edited by neuwerld (2009-05-07 10:51:27)

    I have already installed the wxgtk package.
    More build output:
    ==> Making package: codeblocks 8.02-7 x86_64 (Thu May 7 12:09:46 CEST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found codeblocks-8.02-src.tar.bz2 in build dir
    ==> Validating source files with md5sums...
    codeblocks-8.02-src.tar.bz2 ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f codeblocks-8.02-src.tar.bz2
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    /bin/sh: /home/neuwerld/Desktop/code: No such file or directory
    configure: WARNING: `missing' script is too old or missing
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... g++
    checking for C++ compiler default output file name... a.out
    checking whether the C++ compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking whether gcc and cc understand -c and -o together... yes
    checking for a BSD-compatible install... /bin/install -c
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for gawk... (cached) gawk
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognize dependent libraries... pass_all
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... gfortran
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether gfortran accepts -g... yes
    checking the maximum length of command line arguments... 1572864
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gfortran option to produce PIC... -fPIC
    checking if gfortran PIC flag -fPIC works... yes
    checking if gfortran static flag -static works... yes
    checking if gfortran supports -c -o file.o... yes
    checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for ANSI C header files... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for unistd.h... (cached) yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for size_t... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for working volatile... yes
    checking whether closedir returns void... no
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for working memcmp... yes
    checking whether lstat dereferences a symlink specified with a trailing slash... yes
    checking whether stat accepts an empty string... no
    checking for vprintf... yes
    checking for _doprnt... no
    checking for atexit... yes
    checking for getcwd... yes
    checking for isascii... yes
    checking for memchr... yes
    checking for memmove... yes
    checking for memset... yes
    checking for strcasecmp... yes
    checking for strchr... yes
    checking for strcspn... yes
    checking for strdup... yes
    checking for strrchr... yes
    checking for strstr... yes
    checking for dlopen in -ldl... yes
    checking for pthread_create in -lpthread... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for library containing gzopen... -lz
    checking for library containing BZ2_bzopen... -lbz2
    checking whether to enable debugging... no
    checking whether to build the source formatter plugin... yes
    checking whether to build the autosave plugin... yes
    checking whether to build the class wizard plugin... yes
    checking whether to build the code completion plugin... yes
    checking whether to build the compiler plugin... yes
    checking whether to build the debugger plugin... yes
    checking whether to build the default MIME handler plugin... yes
    checking whether to build the open files list plugin... yes
    checking whether to build the foreign projects importer plugin... yes
    checking whether to build the scripted wizard plugin... yes
    checking whether to build the to-do plugin... yes
    checking which (if any) contrib plugins to build... all
    checking if the compiler supports precompiled headers... yes
    checking for wx-config... /usr/bin/wx-config
    checking for wxWidgets version >= 2.8.0... yes (version 2.8.9)
    checking for wxWidgets static library... no
    checking for wxWidgets platform... wxGTK
    checking for pkg-config... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK2... yes
    checking if wxWidgets libraries are needed for plugins... no
    checking for PIC flags... -fPIC -DPIC
    configure: Configuring Code::Blocks...
    configure: SVN revision 1.0svn ()
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/base/Makefile
    config.status: creating src/base/tinyxml/Makefile
    config.status: creating src/build_tools/Makefile
    config.status: creating src/build_tools/autorevision/Makefile
    config.status: creating src/include/autorevision.h
    config.status: creating src/include/Makefile
    config.status: creating src/include/scripting/Makefile
    config.status: creating src/include/scripting/bindings/Makefile
    config.status: creating src/include/scripting/include/Makefile
    config.status: creating src/include/scripting/sqplus/Makefile
    config.status: creating src/include/scripting/sqstdlib/Makefile
    config.status: creating src/include/scripting/squirrel/Makefile
    config.status: creating src/include/tinyxml/Makefile
    config.status: creating src/include/wxFlatNotebook/Makefile
    config.status: creating src/include/wxscintilla/Makefile
    config.status: creating src/sdk/Makefile
    config.status: creating src/sdk/scripting/Makefile
    config.status: creating src/sdk/scripting/bindings/Makefile
    config.status: creating src/sdk/scripting/squirrel/Makefile
    config.status: creating src/sdk/scripting/sqstdlib/Makefile
    config.status: creating src/sdk/scripting/sqplus/Makefile
    config.status: creating src/sdk/wxscintilla/Makefile
    config.status: creating src/sdk/wxFlatNotebook/Makefile
    config.status: creating src/sdk/resources/Makefile
    config.status: creating src/sdk/resources/lexers/Makefile
    config.status: creating src/src/wxAUI/Makefile
    config.status: creating src/src/resources/Makefile
    config.status: creating src/src/resources/icons/Makefile
    config.status: creating src/src/resources/images/Makefile
    config.status: creating src/src/resources/images/16x16/Makefile
    config.status: creating src/src/resources/images/settings/Makefile
    config.status: creating src/src/Makefile
    config.status: creating src/plugins/Makefile
    config.status: creating src/plugins/astyle/Makefile
    config.status: creating src/plugins/astyle/resources/Makefile
    config.status: creating src/plugins/autosave/Makefile
    config.status: creating src/plugins/classwizard/Makefile
    config.status: creating src/plugins/classwizard/resources/Makefile
    config.status: creating src/plugins/codecompletion/Makefile
    config.status: creating src/plugins/codecompletion/resources/Makefile
    config.status: creating src/plugins/compilergcc/Makefile
    config.status: creating src/plugins/compilergcc/depslib/Makefile
    config.status: creating src/plugins/compilergcc/depslib/src/Makefile
    config.status: creating src/plugins/compilergcc/resources/Makefile
    config.status: creating src/plugins/debuggergdb/Makefile
    config.status: creating src/plugins/debuggergdb/resources/Makefile
    config.status: creating src/plugins/debuggergdb/resources/images/Makefile
    config.status: creating src/plugins/debuggergdb/resources/images/16x16/Makefile
    config.status: creating src/plugins/defaultmimehandler/Makefile
    config.status: creating src/plugins/defaultmimehandler/resources/Makefile
    config.status: creating src/plugins/openfileslist/Makefile
    config.status: creating src/plugins/projectsimporter/Makefile
    config.status: creating src/plugins/projectsimporter/resources/Makefile
    config.status: creating src/plugins/scriptedwizard/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/avr/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/avr/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/c_file/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/console/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/console/c/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/console/cpp/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/d/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/d/console/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/directx/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/directx/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/dll/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/dll/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/empty/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/empty_file/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/fltk/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/fltk/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/fltk/fluid/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/glfw/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/glfw/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/glut/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/glut/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/gtk/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/gtk/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/h_file/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/irrlicht/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/irrlicht/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/lf/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/lf/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/lf/files/quick/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/lf/files/structured/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/ogre/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/ogre/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/opengl/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/opengl/files_win/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/qt4/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/qt4/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/sdl/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/sdl/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/plugins/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/plugins/templates/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/smartwin/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/smartwin/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/staticlib/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/staticlib/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/sharedlib/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/sharedlib/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/sys/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/sys/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/win32gui/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/win32gui/files/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile
    config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile
    config.status: creating src/plugins/todo/Makefile
    config.status: creating src/plugins/todo/resources/Makefile
    config.status: creating src/plugins/xpmanifest/Makefile
    config.status: creating src/plugins/contrib/Makefile
    config.status: creating src/plugins/contrib/AutoVersioning/Makefile
    config.status: creating src/plugins/contrib/BrowseTracker/Makefile
    config.status: creating src/plugins/contrib/byogames/Makefile
    config.status: creating src/plugins/contrib/cb_koders/Makefile
    config.status: creating src/plugins/contrib/codesnippets/Makefile
    config.status: creating src/plugins/contrib/codesnippets/resources/Makefile
    config.status: creating src/plugins/contrib/codestat/Makefile
    config.status: creating src/plugins/contrib/codestat/resources/Makefile
    config.status: creating src/plugins/contrib/dragscroll/Makefile
    config.status: creating src/plugins/contrib/envvars/Makefile
    config.status: creating src/plugins/contrib/help_plugin/Makefile
    config.status: creating src/plugins/contrib/help_plugin/bzip2/Makefile
    config.status: creating src/plugins/contrib/help_plugin/zlib/Makefile
    config.status: creating src/plugins/contrib/keybinder/Makefile
    config.status: creating src/plugins/contrib/lib_finder/Makefile
    config.status: creating src/plugins/contrib/lib_finder/lib_finder/Makefile
    config.status: creating src/plugins/contrib/profiler/Makefile
    config.status: creating src/plugins/contrib/profiler/resources/Makefile
    config.status: creating src/plugins/contrib/source_exporter/Makefile
    config.status: creating src/plugins/contrib/source_exporter/wxPdfDocument/Makefile
    config.status: creating src/plugins/contrib/symtab/Makefile
    config.status: creating src/plugins/contrib/symtab/resources/Makefile
    config.status: creating src/plugins/contrib/regex_testbed/Makefile
    config.status: creating src/plugins/contrib/ThreadSearch/Makefile
    config.status: creating src/plugins/contrib/ThreadSearch/resources/Makefile
    config.status: creating src/plugins/contrib/ThreadSearch/resources/images/Makefile
    config.status: creating src/plugins/contrib/wxSmith/Makefile
    config.status: creating src/plugins/contrib/wxSmith/propgrid/Makefile
    config.status: creating src/plugins/contrib/wxSmith/plugin/Makefile
    config.status: creating src/plugins/contrib/wxSmith/properties/Makefile
    config.status: creating src/plugins/contrib/wxSmith/wxwidgets/Makefile
    config.status: creating src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile
    config.status: creating src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile
    config.status: creating src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile
    config.status: creating src/plugins/contrib/wxSmithContribItems/Makefile
    config.status: creating src/scripts/Makefile
    config.status: creating src/tools/Makefile
    config.status: creating src/tools/cb_share_config/Makefile
    config.status: creating src/tools/ConsoleRunner/Makefile
    config.status: creating src/setup/Makefile
    config.status: creating src/setup/mime/Makefile
    config.status: creating src/templates/Makefile
    config.status: creating src/templates/common/Makefile
    config.status: creating src/templates/unix/Makefile
    config.status: creating src/templates/win32/Makefile
    config.status: creating src/wxsmith/Makefile
    config.status: creating codeblocks.pc
    config.status: creating codeblocks.spec
    config.status: creating codeblocks.plist
    config.status: creating src/include/config.h
    config.status: src/include/config.h is unchanged
    config.status: executing depfiles commands
    * Code::Blocks source tree has been configured. *
    You can now build Code::Blocks by issuing 'make'.
    When the build is complete, become root and install
    it by issuing 'make install'.
    Making all in src
    make[1]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src'
    Making all in base
    make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
    Making all in tinyxml
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base/tinyxml'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base/tinyxml'
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
    make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
    Making all in build_tools
    make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
    Making all in autorevision
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools/autorevision'
    ./auto_revision +int +wx +t ../../.. ../../../src/include/autorevision.h
    sh: svn: command not found
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools/autorevision'
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
    make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
    Making all in include
    make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
    make all-recursive
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
    Making all in scripting
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
    Making all in squirrel
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/squirrel'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/squirrel'
    Making all in sqstdlib
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqstdlib'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqstdlib'
    Making all in sqplus
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqplus'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqplus'
    Making all in bindings
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/bindings'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/bindings'
    Making all in include
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/include'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/include'
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
    make[5]: Nothing to be done for `all-am'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
    Making all in tinyxml
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/tinyxml'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/tinyxml'
    Making all in wxscintilla
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxscintilla'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxscintilla'
    Making all in wxFlatNotebook
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxFlatNotebook'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxFlatNotebook'
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
    make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
    Making all in sdk
    make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
    Making all in scripting
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
    Making all in squirrel
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/squirrel'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/squirrel'
    Making all in sqstdlib
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqstdlib'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqstdlib'
    Making all in sqplus
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqplus'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqplus'
    Making all in bindings
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/bindings'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/bindings'
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
    Making all in wxscintilla
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxscintilla'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxscintilla'
    Making all in wxFlatNotebook
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxFlatNotebook'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxFlatNotebook'
    Making all in resources
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
    Making all in lexers
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources/lexers'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources/lexers'
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
    PWD=`pwd` cd . && zip -j /home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources/manager_resources.zip *.xrc images/*.png > /dev/null
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c -o configmanager-revision.lo configmanager-revision.cpp
    g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c configmanager-revision.cpp -fPIC -DPIC -o .libs/configmanager-revision.o
    mv -f .deps/configmanager-revision.Tpo .deps/configmanager-revision.Plo
    /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -version-info 0:1:0 -o libcodeblocks.la -rpath /usr/lib annoyingdialog.lo autodetectcompilers.lo base64.lo blockallocated.lo cbexception.lo cbeditor.lo cbeditorprintout.lo cbplugin.lo cbproject.lo cbstyledtextctrl.lo cbthreadpool.lo cbworkspace.lo compileoptionsbase.lo compiler.lo compilercommandgenerator.lo compilerfactory.lo compileroptions.lo compiletargetbase.lo configmanager.lo configmanager-revision.lo configurationpanel.lo configuretoolsdlg.lo confirmreplacedlg.lo crc32.lo editarrayfiledlg.lo editarrayorderdlg.lo editarraystringdlg.lo editkeywordsdlg.lo editorbase.lo editorcolourset.lo editorconfigurationdlg.lo editorlexerloader.lo editormanager.lo editor_hooks.lo editpairdlg.lo editpathdlg.lo edittooldlg.lo encodingdetector.lo externaldepsdlg.lo filefilters.lo filegroupsandmasks.lo filemanager.lo finddlg.lo genericmultilinenotesdlg.lo globals.lo importers_globals.lo incrementalselectlistdlg.lo infowindow.lo loggers.lo logmanager.lo macrosmanager.lo managedthread.lo manager.lo menuitemsmanager.lo multiselectdlg.lo newfromtemplatedlg.lo personalitymanager.lo pipedprocess.lo pluginmanager.lo pluginsconfigurationdlg.lo printing_types.lo projectbuildtarget.lo projectdepsdlg.lo projectfile.lo projectfileoptionsdlg.lo projectlayoutloader.lo projectloader.lo projectloader_hooks.lo projectmanager.lo projectoptionsdlg.lo projectsfilemasksdlg.lo projecttemplateloader.lo replacedlg.lo scriptingmanager.lo scriptsecuritywarningdlg.lo sdk_events.lo searchresultslog.lo selecttargetdlg.lo templatemanager.lo toolsmanager.lo uservarmanager.lo virtualbuildtargetsdlg.lo workspaceloader.lo xtra_res.lo nullptr.lo -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 scripting/bindings/libsqbindings.la scripting/sqplus/libsqplus.la scripting/sqstdlib/libsqstdlib.la scripting/squirrel/libsquirrel.la ../base/tinyxml/libtinyxml.la wxscintilla/libwxscintilla.la wxFlatNotebook/libwxflatnotebook.la -lpthread -ldl
    rm -fr .libs/libcodeblocks.la .libs/libcodeblocks.lai .libs/libcodeblocks.so .libs/libcodeblocks.so.0 .libs/libcodeblocks.so.0.0.1
    g++ -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/crtbeginS.o .libs/annoyingdialog.o .libs/autodetectcompilers.o .libs/base64.o .libs/blockallocated.o .libs/cbexception.o .libs/cbeditor.o .libs/cbeditorprintout.o .libs/cbplugin.o .libs/cbproject.o .libs/cbstyledtextctrl.o .libs/cbthreadpool.o .libs/cbworkspace.o .libs/compileoptionsbase.o .libs/compiler.o .libs/compilercommandgenerator.o .libs/compilerfactory.o .libs/compileroptions.o .libs/compiletargetbase.o .libs/configmanager.o .libs/configmanager-revision.o .libs/configurationpanel.o .libs/configuretoolsdlg.o .libs/confirmreplacedlg.o .libs/crc32.o .libs/editarrayfiledlg.o .libs/editarrayorderdlg.o .libs/editarraystringdlg.o .libs/editkeywordsdlg.o .libs/editorbase.o .libs/editorcolourset.o .libs/editorconfigurationdlg.o .libs/editorlexerloader.o .libs/editormanager.o .libs/editor_hooks.o .libs/editpairdlg.o .libs/editpathdlg.o .libs/edittooldlg.o .libs/encodingdetector.o .libs/externaldepsdlg.o .libs/filefilters.o .libs/filegroupsandmasks.o .libs/filemanager.o .libs/finddlg.o .libs/genericmultilinenotesdlg.o .libs/globals.o .libs/importers_globals.o .libs/incrementalselectlistdlg.o .libs/infowindow.o .libs/loggers.o .libs/logmanager.o .libs/macrosmanager.o .libs/managedthread.o .libs/manager.o .libs/menuitemsmanager.o .libs/multiselectdlg.o .libs/newfromtemplatedlg.o .libs/personalitymanager.o .libs/pipedprocess.o .libs/pluginmanager.o .libs/pluginsconfigurationdlg.o .libs/printing_types.o .libs/projectbuildtarget.o .libs/projectdepsdlg.o .libs/projectfile.o .libs/projectfileoptionsdlg.o .libs/projectlayoutloader.o .libs/projectloader.o .libs/projectloader_hooks.o .libs/projectmanager.o .libs/projectoptionsdlg.o .libs/projectsfilemasksdlg.o .libs/projecttemplateloader.o .libs/replacedlg.o .libs/scriptingmanager.o .libs/scriptsecuritywarningdlg.o .libs/sdk_events.o .libs/searchresultslog.o .libs/selecttargetdlg.o .libs/templatemanager.o .libs/toolsmanager.o .libs/uservarmanager.o .libs/virtualbuildtargetsdlg.o .libs/workspaceloader.o .libs/xtra_res.o .libs/nullptr.o -Wl,--whole-archive scripting/bindings/.libs/libsqbindings.a scripting/sqplus/.libs/libsqplus.a scripting/sqstdlib/.libs/libsqstdlib.a scripting/squirrel/.libs/libsquirrel.a ../base/tinyxml/.libs/libtinyxml.a wxscintilla/.libs/libwxscintilla.a wxFlatNotebook/.libs/libwxflatnotebook.a -Wl,--no-whole-archive -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lpthread -ldl -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib/crtn.o -march=x86-64 -mtune=generic -pthread -Wl,-soname -Wl,libcodeblocks.so.0 -o .libs/libcodeblocks.so.0.0.1
    (cd .libs && rm -f libcodeblocks.so.0 && ln -s libcodeblocks.so.0.0.1 libcodeblocks.so.0)
    (cd .libs && rm -f libcodeblocks.so && ln -s libcodeblocks.so.0.0.1 libcodeblocks.so)
    creating libcodeblocks.la
    (cd .libs && rm -f libcodeblocks.la && ln -s ../libcodeblocks.la libcodeblocks.la)
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
    make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
    Making all in src
    make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
    Making all in wxAUI
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/wxAUI'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/wxAUI'
    Making all in resources
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
    Making all in icons
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/icons'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/icons'
    Making all in images
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
    Making all in 16x16
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/16x16'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/16x16'
    Making all in settings
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/settings'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/settings'
    make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
    make[5]: Nothing to be done for `all-am'.
    make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
    make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
    PWD=`pwd` cd . && zip /home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/resources.zip *.xrc images/*.png images/16x16/*.png > /dev/null
    PWD=`pwd` cd ./start_here && zip /home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/start_here.zip *.htm* *.png > /dev/null
    make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
    make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
    /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -o codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o main.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o -LwxAUI -lwxaui -L../sdk -lcodeblocks -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lpthread -ldl
    libtool: link: cannot find the library `' or unhandled argument `blocks/src/codeblocks-8.02/src/src/wxAUI'
    make[3]: *** [codeblocks] Error 1
    make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src'
    make: *** [all-recursive] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    There you got all the output of the compiling, sry if it was to much
    Could it be this "configure: WARNING: `missing' script is too old or missing"?
    Last edited by neuwerld (2009-05-07 10:11:51)

  • Jdk 1.4.2 problem compiling code

    I've spent the last two years developing an application on jdk1.3.1_04 with 9 class files and it works ok. However when I try to run it on jdk1.4.2 with NetBean ide3.5, I get ...
    "java.lang.NoClassDefFoundError:UAD/Applications/MarketAnalyzer3 Exception in thread main".
    I also get the same exception if I create new files and try to compile them on the ide3.5 platform.
    This also happens when I try to run it from the xp CMD window after changing the directory to where the class files are located. The only way I could get a simple one class file to run from the CMD window was to type "java.exe -classpath "." MyColorChooserApp"
    My system environmental variables are set as follows:
    BobTrader c:\ide-userdir\sampledir\BobTrader (this is where the class files are stored)
    JAVA_HOME c:\java\jdk1.4.2\j3sdk1.4.2
    jre c:\jdk1.3.1_04\jre\bin
    QTJAVA c:\ProgramFiles\jaa\jre1.5.0_04\lib\ext\QTJava.zip
    I've been trying to understand what may be the problem with class path and/or the sdk1.4.2, and I've found some reference to change back to windows sp1 or download jkd1.5. I'm not sure what to do next since sdk1.3.1 will no longer be supported.
    Any advice is appreciated.
    I'd like to get my application to run on the recommended sdk before I try to learn how to run it on any PC ...
    - using the CMD window to show it offs
    - learning how to use WebStart to offer it as a service, and/or
    - creating an exe if I decide to offer some of it as a product.
    Still have a lot to learn.
    codingAlone

    I guess jdk1.3.1 uses c:\ide-userdir\sampledir and I put my java application and class files under BobTrader.
    I just read something to help me with Classpath and path.
    My Path includes c:\java\jdk1.4.2\j2sdk1.4.2/bin so I believe that tells Windows where java exe files are and therefore allowed me to perform javac and java on a simple file. but not on a package of files.
    My Classpath does not include where my class files are located. So should I add the following to my Classpath: c:\ide-userdir\sampledir\BobTrader? The MarketAnalyzer3 class and other classes are under BobTrader. I have to compile multiple *.java files.
    Hopefully this will allow the sdk1.4.2 to work. I will try adding the BobTrader class files to the Classpath and see.
    My package is also named BobTrader. Not sure why I created a package since I do not import any of it, just that all files are related. Will I have to do anything special if I compile and/or run from the CMD window?
    For example:
    - javac c:\BobTrader\BobTrader\*.java (ie, javac c:\foldername\packagename\*.java). I assume the *.java is needed since I need to compile multiple files; otherwise I might get some exception that the others are not understood by the compiler.
    Then run the application using....
    - java BobTrader.MarketAnalyzer3 (java packagename.filename)
    This assumes I am in the BobTrader folder.
    Also, how do I add ?.? To the Classpath so I don?t have to type java.exe ?classpath ?.? Filename class. I know how to add c:\foldername\; using environmental variables but not sure how to add ?.? Do i add ?.?;at the beginning of the Classpath followed by what is currently there now, or do I add it to the end. For example:
    -     ?.?;c:\ProgramFiles\Java\jrel.5.0_04\lib\ext\QTJava.zip, or
    -     .;c:\ProgramFiles\etc?., or
    -     c:\ProgramFiles\Java\jrel.5.0_04\lib\ext\QTJava.zip;. or ;?.?

  • Problems Compiling Code With Function Pointers Using Sun CC (SUNWspro)

    I have a header file that contains a declaration to a function pointer as follows:
    int (*pFuncPntr)(char host, char comm, void *data);
    Then, in a *.c file which includes the header file where the function pointer is declared, the prototype for the function is at the top of the file and appears as follows:
    int someFunc(char hostname, char community, void *data);
    Then, in the same *.c file, down below, I attempt to assign the function pointer to the address of the function declared as follows:
    pFuncPntr = &someFunc;
    ... and further down in the *.c file is the definition of someFunc. ........................
    When I compile, I get the following error:
    : identifier redeclared: pFuncPntr
    current : int
    previous: pointer to function(pointer to char, pointer to char, pointer
    to void) returning int : "/vobs/pp2dev/src/cmds/emcp_pmgmtd/sparc_solaris/../emc
    p_pmgmtd.h", line 84
    "/vobs/pp2dev/src/cmds/emcp_pmgmtd/sparc_solaris/emcp_pmgmtd_solaris.c", line 46
    As far as I've read, this is the standard way of assigning a function pointer to the address of a function.
    Does anyone have any ideas what CC compiler is complaining about?
    Appreciate your response,
    dedham_ma_man

    WHen I try to include the ftp.jar package?? I use "package com.enterprisedt.net.ftp;".That isn't how you import a package. That declares that the class it is at the top of will belong to that package, and that's not what you want. I'm guessing that you need
    import com.enterprisedt.net.ftp.*;
    at the top of your code, just after the line where you declare the real name of the package your class is going to belong to.
    By the way, you need the compiled version of your downloaded FTP code, i.e. the .class files. If you got source code (.java files) you'll need to compile them, but you should be able to get the compiled version as a download.

  • [solved] Problem compiling ConTeXt code

    I'd like to start learning ConTeXt and I've just tried to compile a simple hello world:
    \starttext
    Hello world.
    \stoptext
    when compiling with texexec I get this output:
    mtxrun | kpse fallback with progname 'context' initialized in 0.02 seconds/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': /usr/share/texmf-dist/scripts/context/ruby/base/switch.rb:501: invalid multibyte escape: /\xFF/ (SyntaxError)
    from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /usr/share/texmf-dist/scripts/context/ruby/texexec.rb:11:in `<main>'
    I have ruby and all texlive packags installed except texlive-lang*. Searching for an answer I found an old discussion on the forum (2008) where it was suggested to run
    luatools --generate
    before using texexec, but this lead me to another error:
    mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
    Am I missing some package-stuff necessary to compile ConTeXt code?
    edit: looks like I was reading an obsolete guide. It is now reccomended to compile code with "context <filename>", which works fine.
    Last edited by Box0 (2013-04-15 09:18:52)

    Hi there,
    I tried
    g++ mclient.cpp -llibboost_filesystem -llibboost_program_options -llibboost_system -llibboost_thread -o tutorial
    and received
    /usr/bin/ld: cannot find -llibboost_filesystem
    /usr/bin/ld: cannot find -llibboost_program_options
    /usr/bin/ld: cannot find -llibboost_system
    /usr/bin/ld: cannot find -llibboost_thread
    collect2: error: ld returned 1 exit status

  • Running DS-5 armcc compiled code (PIC) under Windows EC 2013

    Hi All,
    i just wanted to know if it is generally (officially) supported to run code that is compiled via the armcc (5.03) from DS-5 under Windows Embedded Compact 2013. Or if this is discouraged (reasons?).
    The problem i have:
    The bootloader contains some code that must be run during Windows EC Startup. So this code is loaded from the Flash, copied to RAM (reserved and commited via VirtualAlloc and marked as executable) and then the functions are called via FunctionPointers.
    The code is compiled and linked as position independent and the stack base register is set accordingly before any function is called via pointer and reset when it returns.
    This works in about 9 out of 10 tests without problems. But sometimes i get all sort of exceptions (Data Abort, Prefetch Abort, Unknown Instruction, ...). Most (if not all) of the time they occur when the position independent code runs on one of the two
    cores.
    The code runs on an i.MX6DQ (dual).
    If i only enable one core, i can't reproduce the problem (i assume that multicore-handling and multithreading in WinEC 2013 Update 10 is really well tested and works without problems, so this can't be the real reason).
    I've thoroughly checked and debugged the code, i'm really sure there is no illegal access or other problem with the code itself.
    Could it be a problem to call code compiled via DS-5 armcc? I've compared assembler code that Visual Studio/Platform Builder generates with code that DS-5 generates (but i'm no assembler expert). I can't see any obvious special code that is added by Visual
    Studio/Platform Builder (i.e. that functions need) that is not there in the DS-5 code.
    Best Regards
    Sebastian

    So I think you could be able to image some code for ROM from another compiler and without knowledge of Windows CE. However, if the code will be called from Windows CE, this becomes more difficult requiring very careful isolation from the
    MMU state, processor state, kernel/user mode, etc. Code that works great when called from the bootloader might not work at all from Windows CE itself. The main problem with mixing code from different compilers is the object file format and conventions for
    entry and public names. Very unlikely that you'd be able to "link" code from any other compiler with PB-compiled code.
    You might think about the x86 image which can easily call BIOS from the bootloader but which can't even begin to call BIOS from CE itself. The problem isn't the compiler (which is different), but the operating environment differences and assumptions.
    Paul T.

  • Troublesho​oting compiled code?

    I am using Fieldpont modules to control some lab tests.  Since we have a few separate tests, we've decided to use compiled code to cut down on Labview costs. 
    The issue I'm having is when I have an error in the compiled code on a new install.  Is there any way to see where in the code the error is occurring?  Maybe some sort of test run mode or something? I know the code interacts with the windows registry as well as a few files on the hard drive. I think this is where the problem is. Unfortunately, I did not write the code, so I'm not certain where the problem could be.  I have always been able to easily troubleshoot issues with code when running the full Labview software, but with the compiled code, you can't see the block diagram.
    Any help would be greatly appreciated.
    Tony

    Hi Scubadude,
    I have included a link to a help file that walks through how to debug applications on remote systems.
    Debugging Applications and Shared Libraries:
    http://zone.ni.com/reference/en-XX/help/371361J-01​/lvhowto/debug_apps_dlls/
    Wear
    National Instruments
    Product Support Engineer

  • How to retrieve constants value from compiled code in jar file?

    Hi everyone,
    I've been looking for a way to solve this for a week now, without any much success... and I've finally decided to ask the Java gurus for a solution! :-)
    Here's what I am basically trying to do:
    I have several jar files in which there are only compiled code (.class).
    In every class, there are 2 constants (declared as static final String) that I would like to retrieve (one is the version and the other the date of the last modification).
    My goal is to print a list of all the classes in the jar files with the values of these 2 constants for each class.
    The solution that I have right now to do this does not work properly: for now, I read all the elements of the classpath, check if these are jar files, and if so, I look into each one and load all the classes one by one and print the results.
    The problem with this is that it uses the method Class.forName(className) and as some classes are unfortunately present in many jar files (2 or 3 copies), once the classes have been loaded, then it won't be "reloaded".
    Without the possibility to "reload" these classes, I cannot see inconsistencies in the versions of the classes present in the jar files.
    I have read many articles, and I thought that I could then use a custom classloader and create a new instance of this classloader for each jar file.
    2 problems with this:
    - according to many posts in the different forums I have read, the jar files should not appear in the CLASSPATH (but this would be easier for me if I could use it...)
    - some classes will not be loaded if some classes (present in other jar files) are not loaded... and this makes things really really complicated to implement...
    So, I thought that I was maybe doing this the wrong way, and that there might be an easy way out of this...
    In fact, I do not need to load the classes... all I need to do, is take a sneak peek at the constants and print their values... and that's it!
    Somehow, I think that this is possible to retrieve the values of compile time constants (declared as static final String) as I can see that with Eclipse (when opening a jar file).
    So, my question is: how can I do that within my java application?
    Or maybe there is another easier solution to do what I need?
    Thanks in advance for your help!

    Hi everyone,
    I've been looking for a way to solve this for a week now, without any much success... and I've finally decided to ask the Java gurus for a solution! :-)
    Here's what I am basically trying to do:
    I have several jar files in which there are only compiled code (.class).
    In every class, there are 2 constants (declared as static final String) that I would like to retrieve (one is the version and the other the date of the last modification).
    My goal is to print a list of all the classes in the jar files with the values of these 2 constants for each class.
    The solution that I have right now to do this does not work properly: for now, I read all the elements of the classpath, check if these are jar files, and if so, I look into each one and load all the classes one by one and print the results.
    The problem with this is that it uses the method Class.forName(className) and as some classes are unfortunately present in many jar files (2 or 3 copies), once the classes have been loaded, then it won't be "reloaded".
    Without the possibility to "reload" these classes, I cannot see inconsistencies in the versions of the classes present in the jar files.
    I have read many articles, and I thought that I could then use a custom classloader and create a new instance of this classloader for each jar file.
    2 problems with this:
    - according to many posts in the different forums I have read, the jar files should not appear in the CLASSPATH (but this would be easier for me if I could use it...)
    - some classes will not be loaded if some classes (present in other jar files) are not loaded... and this makes things really really complicated to implement...
    So, I thought that I was maybe doing this the wrong way, and that there might be an easy way out of this...
    In fact, I do not need to load the classes... all I need to do, is take a sneak peek at the constants and print their values... and that's it!
    Somehow, I think that this is possible to retrieve the values of compile time constants (declared as static final String) as I can see that with Eclipse (when opening a jar file).
    So, my question is: how can I do that within my java application?
    Or maybe there is another easier solution to do what I need?
    Thanks in advance for your help!

  • Error during distribution for compiled code generation-Reply

    Hi,
    Looking at your error messages, it looks as though your build is failing during the code generation phase of an autocompilation. To determine why the code generator crashed, either look in the $FORTE_ROOT/log/forte_ex*.log files or don't use autocompilation and use fcompile.
    There are many reasons why the code generator could crash. Some of the things I've come across are running out of memory and trying to find invalid classes.
    If its the invalid class problem you'll find a message like:
    Generating code for partition BLTCustomWindow_cl0_Part1.
    ERROR: Exiting due to following exception:
    SYSTEM ERROR: Client partition FTCompile_cl0_Client was terminated by escaped
    exception. See the remainder of the error stack for more information.
    Class: qqsp_ResourceException
    Error #: [1001, 3]
    Detected at: qqrt_ForteExecAgent::LoadPartition at 1
    Error Time: Tue Aug 18 17:52:44
    Exception occurred (locally) on partition "Forte_Executor", (partitionId =
    9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1, taskId =
    [9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1.6]) in application
    "FTCompile_cl0", pid 28331 on node stardev in environment <unknown>.
    FATAL ERROR: Invalid class ProductBMServices.ProductSecurityMgrProxy
    (0x4ecd,0x19a)
    Class: qqsp_ImplementationException
    Detected at: qqcg_TRclass::SetClass at 2
    Last TOOL statement: method ForteCompiler.ProcessPGF
    Error Time: Tue Aug 18 17:52:44
    Exception occurred (locally) on partition "Forte_Executor",
    (partitionId = 9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1, taskId =
    [9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1.6]) in application
    "FTCompile_cl0", pid 28331 on node stardev in environment <unknown>.
    The solution for this instance is to clean up the invalid classes using the c4tstdrv utility.
    c4tstdrv > setrepos star8
    c4tstdrv > setwork dmcompiledbuild
    c4tstdrv > open
    Type Service Flags Level
    err sh * 255
    trc rp 1 4
    c4tstdrv > findproj productbmservices
    c4tstdrv > cleanuprtclasses
    Removing extraneous RTclass ProductShootingLocationMgrProxy
    Removing extraneous RTclass PRTerritoryBaseMgrProxy
    Removing extraneous RTclass PRTerritoryMgrProxy
    Removing extraneous RTclass TalentBaseMgrProxy
    Removing extraneous RTclass TalentTypeMgrProxy
    Removing extraneous RTclass TitleTypeBaseMgrProxy
    Removing extraneous RTclass TitleTypeMgrProxy
    Removing extraneous RTclass ProductSecurityBaseClass
    Removing extraneous RTclass ProductSecurityBaseQuery
    Removing extraneous RTclass ProductSecurityQuery
    Removing extraneous RTclass ProductSecurityMgrProxy
    c4tstdrv > commit
    c4tstdrv > exit
    Integrate the changes to the workspace, start the build again and this should have cured the problem.
    However, its hard to know what the cause of your problem is without seeing the output in the log files.
    Good luck.
    Mark Carruthers
    20th Century Fox
    "Forte Consultants" <[email protected]> 01/22/99 08:35am >>>
    Hi,
    I'm doing application distribution for my application using a fscript
    script and am forcing compilation on 2 of my partitions.
    This I have been doing from quite sometime successfully. Recently I
    developed a new service and plugged it into my application for
    deployment.
    I'm successfully able to distribute & deploy the interpreted code. But
    I'm getting a long list of system errors when I try doing distribution
    for compiled code. And I see only one of the .exe generated instead of
    two because of which I'm unable to go ahead with installaion. I would
    appreciate if anybody let me know why this's happening ?. The following
    is the main chunk of this error list.
    Thanks in advance.
    --Anand Ramaswamy
    SYSTEM ERROR: Cannot resolve the distributed reference for an object of
    class
    (qqlo_Object) named (<Unknown>) for the reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 144]
    Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 10
    Error Time: Fri Jan 22 10:44:22
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Can not initially communicate with the object named
    (Unnamed),
    which is supposed to be in partition
    (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1).
    Class: qqsp_DistAccessException
    Error #: [601, 140]
    Detected at: qqdo_ProxyMgr::CheckAccess at 1
    Error Time: Fri Jan 22 10:44:22
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Attempt to send to unknown destination partition
    (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1).
    Class: qqsp_DistAccessException
    Error #: [601, 102]
    Detected at: qqdo_PartitionMgr::SendMsg at 1
    Error Time: Fri Jan 22 10:44:22
    Distributed method called: qqdo_InternalMessage.<Message> (object
    name
    Unnamed) from partition "CodeGenerationSvc_cl0_Part1-router",
    (partitionId
    = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.2]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Partition (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1)
    no
    longer exists. The process associated with the partition probably
    terminated.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::CheckStarted at 1
    Error Time: Fri Jan 22 10:44:22
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: This method invocation is being retried because the
    failures
    shown below and the fact that the dialog duration is MESSAGE. This is
    try #2.
    Class: qqsp_DistAccessException
    Error #: [601, 54]
    Detected at: qqdo_Message::Failed at 1
    Error Time: Fri Jan 22 10:44:19
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: The load balanced router is disabled or has no members.
    This
    can happen if all of the members terminated or failed.
    Class: qqsp_DistAccessException
    Error #: [601, 161]
    Detected at: qqdo_LbRouter::Route at 1
    Error Time: Fri Jan 22 10:44:19
    Distributed method called: GenerationMgrProxy.GeneratePartitionCode
    (object name
    site/codegenerationsvc_cl0/codegenerationsvc_cl0-codegensvc)
    from partition "Fscript_cl9_Client", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614.2]) in application
    "fscript",
    pid 4b81 on node MOOSUP in environment IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: This method invocation is being retried because the
    failures
    shown below and the fact that the dialog duration is MESSAGE. This is
    try #1.
    Class: qqsp_DistAccessException
    Error #: [601, 54]
    Detected at: qqdo_Message::Failed at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Access to a load balanced router member (which is a
    service
    object) failed for the reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 162]
    Detected at: qqdo_LbRouter::Route at 2
    Error Time: Fri Jan 22 10:44:15
    Distributed method called: GenerationMgrProxy.GeneratePartitionCode
    (object name
    site/codegenerationsvc_cl0/codegenerationsvc_cl0-codegensvc)
    from partition "Fscript_cl9_Client", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614.3]) in application
    "fscript",
    pid 4b81 on node MOOSUP in environment IGTSDENV
    Distributed method called: qqlo_Object.<Message> (object name
    Unnamed)
    from partition "Forte_Executor", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: Cannot resolve the distributed reference for an object of
    class
    (qqlo_Object) named (<Unknown>) for the reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 144]
    Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 10
    Error Time: Fri Jan 22 10:44:15
    Distributed method called: qqlo_Object.<Message> (object name
    Unnamed)
    from partition "Forte_Executor", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: This distributed reference was previously invalidated due
    to the
    reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 132]
    Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 3
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: The connection to the partner was terminated by the
    Communication
    Manager for the reasons below.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::StopLocation at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Network partner closed connection. This usually means the
    process at the other end of the wire failed. Please go look there and
    find
    out why.
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 2
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Asynchronous Failure: Recieved a close from the network
    partner:
    Internet Location - Host: moosup.iroquois.com Port Number: 2504 Dot:
    193.1.11.26 %LINKDISCON, network partner disconnected logical link
    Event 4
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: This method invocation is being retried because the
    failures
    shown below and the fact that the dialog duration is MESSAGE. This is
    try #1.
    Class: qqsp_DistAccessException
    Error #: [601, 54]
    Detected at: qqdo_Message::Failed at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: The connection to the partner was terminated by the
    Communication
    Manager for the reasons below.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::StopLocation at 1
    Error Time: Fri Jan 22 10:44:15
    Distributed method called: qqlo_Object.<Message> (object name
    Unnamed)
    from partition "Forte_Executor", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Network partner closed connection. This usually means the
    process at the other end of the wire failed. Please go look there and
    find
    out why.
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 2
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Asynchronous Failure: Recieved a close from the network
    partner:
    Internet Location - Host: moosup.iroquois.com Port Number: 2504 Dot:
    193.1.11.26 %LINKDISCON, network partner disconnected logical link
    Event 4
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    If this INCLUDE is in a function group go the MAIN program and activate from there.
    Can you list out the include name?

  • Problem compiling Abstract class

    Hi
    I have writting an abstract class Sort.java and another class BubbleSort.java. I am having problems compiling BubbleSort.java class.
    The following is the error message
    BubbleSort.java:8: missing method body, or declare abstract
         public int doSorting(int[] array);
    ^
    BubbleSort.java:11: return outside method
              return num;
    ^
    The following is the code
    public abstract class Sort
    public abstract int doSorting(int[] array);
    }// End of class
    public class BubbleSort extends Sort
    private int num = 2;
    public int doSorting(int[] array);
    num = num + 2;
    return num;
    } // end of class

    Remove the semi-colon.
    public int doSorting(int[] array); // <------- there

  • Having problems compiling *.java with import javax.servlet.jsp......

    I've been trying to do the tutorials in a book titled Apache Jakarta-Tomcat as part of my introduction to JSP. I'm new to Java but do know the basics. I have on my machine Java 1.3, Java 1.4, Java FrameWorks 2.1 and Jython 2.1 on Win2000 Pro. So enough about my configuration. I have never worked with packages also.
    I downloaded the files from the books site due to the fact I make a lot of typos when hand coding Java (I've become a pretty good debugger of my own code). But everytime I go to compile the *.java I get error messages. So below you will find HelloTag.java and beneath that the error messages that are thrown when I try and compile it. I tested other bits of *.java and have had no problem compiling them. Is there a JSP module I'm missing?
    Am I doing something wrong or am I missing something from my configuration.
    Marijan Madunic
    package chapter2;
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.JspTagException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class HelloTag extends TagSupport
    public void HelloTag() {
    // Method called when the closing hello tag is encountered
    public int doEndTag() throws JspException {
    try {
    // We use the pageContext to get a Writer
    // We then print the text string Hello
    pageContext.getOut().print("Hello");
    catch (Exception e) {
    throw new JspTagException(e.getMessage());
    // We want to return SKIP_BODY because this Tag does not support
    // a Tag Body
    return SKIP_BODY;
    public void release() {
    // Call the parent's release to release any resources
    // used by the parent tag.
    // This is just good practice for when you start creating
    // hierarchies of tags.
    super.release();
    D:\Java\JDK 1.3\bin>javac HelloTag.java
    HelloTag.java:3: cannot resolve symbol
    symbol : class JspException
    location: package jsp
    import javax.servlet.jsp.JspException;
    ^
    HelloTag.java:4: cannot resolve symbol
    symbol : class JspTagException
    location: package jsp
    import javax.servlet.jsp.JspTagException;
    ^
    HelloTag.java:5: cannot resolve symbol
    symbol : class TagSupport
    location: package tagext
    import javax.servlet.jsp.tagext.TagSupport;
    ^
    HelloTag.java:7: cannot resolve symbol
    symbol : class TagSupport
    location: class chapter2.HelloTag
    public class HelloTag extends TagSupport
    ^
    HelloTag.java:14: cannot resolve symbol
    symbol : class JspException
    location: class chapter2.HelloTag
    public int doEndTag() throws JspException {
    ^
    HelloTag.java:20: cannot resolve symbol
    symbol : variable pageContext
    location: class chapter2.HelloTag
    pageContext.getOut().print("Hello");
    ^
    HelloTag.java:24: cannot resolve symbol
    symbol : class JspTagException
    location: class chapter2.HelloTag
    throw new JspTagException(e.getMessage());
    ^
    HelloTag.java:28: cannot resolve symbol
    symbol : variable SKIP_BODY
    location: class chapter2.HelloTag
    return SKIP_BODY;
    ^
    HelloTag.java:37: cannot resolve symbol
    symbol : variable super
    location: class chapter2.HelloTag
    super.release();
    ^
    9 errors

    Well, it looks like you've not got the servlet development kit JAR on your classpath. I think it'll probably be called servlet.jar on your system. Add that to the classpath if it's not already there.
    Incidentally, you've bumped into one of the areas Java's slightly lenient - declaring a method that looks like a constructor:
    public HelloTag() { }
    public void HelloTag() { }The first is a constructor, the second is a normal method. I'm assuming you intended to have the former instead of the latter.
    Anyway, hope this helps.

  • Problems compiling program

    hello.
    this is james mcfadden. i'm having problems compiling the Demo.java program. the Demo.java program is shown below along with the MediaPanel.java and MediaTest.java programs. when i compile the Demo.java program i get the following errors. i really need help in getting rid of these errors.
    ----jGRASP exec: javac -g X:\CP4B Project\Demo.java
    Demo.java:297: cannot find symbol
    symbol : class Media
    location: class Demo
    MediaTest media=new Media();
    ^
    Demo.java:301: cannot find symbol
    symbol : class Media
    location: class Demo
    MediaTest media=new Media();
    ^
    Demo.java:305: cannot find symbol
    symbol : class Media
    location: class Demo
    MediaTest media=new Media();
    ^
    3 errors
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    //Written by:Seamus McFadden
    //Class:CP4B
    //Program Number:1
    //Program Name:Demo.java
    //Description:
    //Supervisor:Gerard McCloskey
    import java.awt.*;//Contains all of the classes for creating user interfaces and for painting graphics and images
    import java.awt.event.*;//Provides interfaces and classes for dealing with different types of events fired by AWT components
    import javax.swing.*;//Provides a set of lightweight components that, to the maximum degree possible, work the same on all platforms
    public class Demo extends JFrame{
        public static void main(String[] args){
            int choice=-1;//a variable of type int that is set to -1
            choice=getChoice();//invokes the method getChoice()
            if(choice!=0){
               getSelected(choice);//invokes the method getSelected(choice)
            }//end if
        }//end main
        public static int getChoice(){
            String choice;//a variable of type string
            int ch;//a variable of type int
            choice=JOptionPane.showInputDialog(null,
                    "1. Product Menu\n" +
                    "2. Member Menu\n" +
                    "3. Rental Menu\n" +
                          "4. Media Menu\n" +
                    "5. Log Off\n\n" +
                    "Enter your choice");//asks the user for some input
            ch=Integer.parseInt(choice);//a class that wraps a value of the primitive type int in an object
            return ch;//a method that returns an integer value
        }//end getChoice
        public static void getSelected(int choice){
            if(choice == 1) {
                   product();
            }//end if
            if(choice==2){
               member();
            }//end if
            if(choice==3){
               rental();
            }//end if
                if(choice==4){
               media();
            }//end if
                if(choice==5){
                   LogOff logoff=new LogOff();
                }//end if
                else{
                   ErrorMessage error=new ErrorMessage();
        }//end getSelected
        public static void product(){
             int productChoice=-1;//a variable of type int that is set to -1
           productChoice=getProductChoice();//invokes the method getChoice()
           if(productChoice!=0){
              getProductSelected(productChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice(); 
        public static void member(){
           int memberChoice=-1;//a variable of type int that is set to -1
           memberChoice=getMemberChoice();//invokes the method getChoice()
           if(memberChoice!=0){
              getMemberSelected(memberChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice(); 
        public static void rental(){
           int rentalChoice=-1;//a variable of type int that is set to -1
           rentalChoice=getRentalChoice();//invokes the method getChoice()
           if(rentalChoice!=0){
              getRentalSelected(rentalChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice();
          public static void media(){
           int mediaChoice=-1;//a variable of type int that is set to -1
           mediaChoice=getMediaChoice();//invokes the method getChoice()
           if(mediaChoice!=0){
              getMediaSelected(mediaChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice(); 
          public static int getProductChoice(){
           String productChoice;//a variable of type string
           int pch;//a variable of type int
           productChoice=JOptionPane.showInputDialog(null,
                   "1. Add product details\n" +
                   "2. View product details\n" +
                   "3. Edit product details\n" +
                         "4. Delete product details\n" +
                   "5. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           pch=Integer.parseInt(productChoice);//a class that wraps a value of the primitive type int in an object
           return pch;//a method that returns an integer value
        }//end getProductChoice
          public static int getMemberChoice(){
           String memberChoice;//a variable of type string
           int mch;//a variable of type int
           memberChoice=JOptionPane.showInputDialog(null,
                   "1. Add member details\n" +
                   "2. View member details\n" +
                   "3. Edit member details\n" +
                             "4. Delete member details\n" +
                   "5. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           mch=Integer.parseInt(memberChoice);//a class that wraps a value of the primitive type int in an object
           return mch;//a method that returns an integer value
        }//end getMemberChoice
          public static int getRentalChoice(){
           String rentalChoice;//a variable of type string
           int rch;//a variable of type int
           rentalChoice=JOptionPane.showInputDialog(null,
                   "1. Add rental details\n" +
                   "2. View rental details\n" +
                   "3. Edit rental details\n" +
                             "4. Delete rental details\n" +
                   "5. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           rch=Integer.parseInt(rentalChoice);//a class that wraps a value of the primitive type int in an object
           return rch;//a method that returns an integer value
        }//end getRentalChoice
          public static int getMediaChoice(){
           String mediaChoice;//a variable of type string
           int mtch;//a variable of type int
           mediaChoice=JOptionPane.showInputDialog(null,
                   "1. Listen to songs\n" +
                             "2. View movie previews\n" +
                             "3. View game previews\n" +
                   "4. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           mtch=Integer.parseInt(mediaChoice);//a class that wraps a value of the primitive type int in an object
           return mtch;//a method that returns an integer value
        }//end getMediaChoice
          public static void getProductSelected(int productChoice){
           if(productChoice==1){
                  addProducts();
           }//end if
           if(productChoice==2){
              viewProducts();
           }//end if
           if(productChoice==3){
              editProducts();
           }//end if
               if(productChoice==4){
              deleteProducts();
           }//end if
               else{
                   ErrorMessage error=new ErrorMessage();
        }//end getProductSelected
          public static void getMemberSelected(int memberChoice){
           if(memberChoice==1){
                  addMembers();
           }//end if
           if(memberChoice==2){
              viewMembers();
           }//end if
           if(memberChoice==3){
              editMembers();
           }//end if
               if(memberChoice==4){
              deleteMembers();
           }//end if
               else{
                   ErrorMessage error=new ErrorMessage();
        }//end getMemberSelected
          public static void getRentalSelected(int rentalChoice){
           if(rentalChoice==1){
                  addRentals();
           }//end if
           if(rentalChoice==2){
              viewRentals();
           }//end if
           if(rentalChoice==3){
              editRentals();
           }//end if
               if(rentalChoice==4){
              deleteRentals();
           }//end if
               else{
                   ErrorMessage error=new ErrorMessage();
        }//end getRentalSelected
          public static void getMediaSelected(int mediaChoice){
           if(mediaChoice==1){
                  hearSongs();
           }//end if
           if(mediaChoice==2){
              viewMovies();
           }//end if
           if(mediaChoice==3){
              viewGames();
           }//end if
               else{
                   ErrorMessage error=new ErrorMessage();
        }//end getMediaSelected
          public static void addProducts(){
           ProductForm product=new ProductForm();
           product.getInput();
               product.setVisible(true);
          public static void viewProducts(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editProducts(){
           ProductForm product=new ProductForm();
               product.getInput();
               product.setVisible(true);
          public static void deleteProducts(){
           ProductForm product=new ProductForm();
               product.setVisible(true);
          public static void addMembers(){
           MemberForm member=new MemberForm();
               member.getInput();
               member.setVisible(true);
          public static void viewMembers(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editMembers(){
           MemberForm member=new MemberForm();
               member.getInput();
               member.setVisible(true);
          public static void deleteMembers(){
           MemberForm member=new MemberForm();
               member.setVisible(true);
          public static void addRentals(){
           RentalForm rental=new RentalForm();
               rental.getInput();
               rental.setVisible(true);
          public static void viewRentals(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editRentals(){
           RentalForm rental=new RentalForm();
               rental.getInput();
               rental.setVisible(true);
          public static void deleteRentals(){
           RentalForm rental=new RentalForm();
               rental.setVisible(true);
        public static void hearSongs(){
           MediaTest media=new Media(); 
        public static void viewMovies(){
           MediaTest media=new Media();   
        public static void viewGames(){
           MediaTest media=new Media();   
    }//end class Demo
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.IOException;
    import java.net.URL;
    import javax.media.CannotRealizeException;
    import javax.media.Manager;
    import javax.media.NoPlayerException;
    import javax.media.Player;
    import javax.swing.JPanel;
    public class MediaPanel extends JPanel{
       public MediaPanel(URL mediaURL){
          setLayout(new BorderLayout());//use a BorderLayout
          //Use lightweight components for Swing compatibility
          Manager.setHint(Manager.LIGHTWEIGHT_RENDERER,true);
          try{
             //create a player to play the media specified in the URL
             Player mediaPlayer=Manager.createRealizedPlayer(mediaURL);
             //get the components for the video and the playback controls
             Component video=mediaPlayer.getVisualComponent();
             Component controls=mediaPlayer.getControlPanelComponent();
             if(video!=null)
                add(video,BorderLayout.CENTER);//add video component
             if(controls!=null)
                add(controls,BorderLayout.SOUTH);//add controls
             mediaPlayer.start();//start playing the media clip
          }//end try
          catch(NoPlayerException noPlayerException){
             System.err.println("No media player found");
          }//end catch
          catch(CannotRealizeException cannotRealizeException){
             System.err.println("Could not realize media player");
          }//end catch
          catch(IOException iOException){
             System.err.println("Error reading from the source");
          }//end catch
       }//end MediaPanel constructor
    }//end class MediaPanel
    import java.io.File;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    public class MediaTest{
       //launch the application
       public static void main(String args[]){
          //create a file chooser
          JFileChooser fileChooser=new JFileChooser();
          //show open file dialog
          int result=fileChooser.showOpenDialog(null);
          if(result==JFileChooser.APPROVE_OPTION){//user chose a file
             URL mediaURL=null;
             try{
                //get the file as URL
                mediaURL=fileChooser.getSelectedFile().toURL();
             }//end try
             catch(MalformedURLException malformedURLException){
                System.err.println("Could not create URL for the file");
             }//end catch
             if(mediaURL!=null) {//only display if there is a valid URL
                JFrame mediaTest=new JFrame("Media Tester");
                mediaTest.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                MediaPanel mediaPanel=new MediaPanel(mediaURL);
                mediaTest.add(mediaPanel);
                mediaTest.setSize(300,300);
                mediaTest.setVisible(true);
             }//end inner if
          }//end outer if
       }//end main
    }//end class MediaTest

    hello.
    this is james mcfadden. thanks for the reply. i did what you told me to do, but i am still having trouble trying to use the 2 JMF programs (MediaPanel.java and MediaTest.java) with the Demo.java program. the Demo.java program compiles and runs ok, but when i press 1 (for listening to songs) in the media menu i get a JOptionPane (An Error Message) displayed on screen. how can i fix this problem?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Demo extends JFrame{
        public static void main(String[] args){
            int choice=-1;//a variable of type int that is set to -1
            choice=getChoice();//invokes the method getChoice()
            if(choice!=0){
               getSelected(choice);//invokes the method getSelected(choice)
            }//end if
        }//end main
        public static int getChoice(){
            String choice;//a variable of type string
            int ch;//a variable of type int
            choice=JOptionPane.showInputDialog(null,
                    "1. Product Menu\n" +
                    "2. Member Menu\n" +
                    "3. Rental Menu\n" +
                          "4. Media Menu\n" +
                    "5. Log Off\n\n" +
                    "Enter your choice");//asks the user for some input
            ch=Integer.parseInt(choice);//a class that wraps a value of the primitive type int in an object
            return ch;//a method that returns an integer value
        }//end getChoice
        public static void getSelected(int choice){
            if(choice == 1) {
                   product();
            }//end if
            if(choice==2){
               member();
            }//end if
            if(choice==3){
               rental();
            }//end if
                if(choice==4){
               media();
            }//end if
                if(choice==5){
                   LogOff logoff=new LogOff();
                }//end if
                else{
                   JOptionPane.showMessageDialog(null,"Error\n\nInvalid options\nPlease choose 1, 2, 3, 4 or 5 on the main menu\nPlease choose 1, 2, 3, 4 or 5 on the product menu\nPlease choose 1, 2, 3, 4 or 5 on the member menu\nPlease choose 1, 2, 3, 4 or 5 on the rental menu\nPlease choose 1, 2, 3 or 4 on the media menu");
                   System.exit(0);
        }//end getSelected
        public static void product(){
             int productChoice=-1;//a variable of type int that is set to -1
           productChoice=getProductChoice();//invokes the method getChoice()
           if(productChoice!=0){
              getProductSelected(productChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice(); 
        public static void member(){
           int memberChoice=-1;//a variable of type int that is set to -1
           memberChoice=getMemberChoice();//invokes the method getChoice()
           if(memberChoice!=0){
              getMemberSelected(memberChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice(); 
        public static void rental(){
           int rentalChoice=-1;//a variable of type int that is set to -1
           rentalChoice=getRentalChoice();//invokes the method getChoice()
           if(rentalChoice!=0){
              getRentalSelected(rentalChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice();
          public static void media(){
           int mediaChoice=-1;//a variable of type int that is set to -1
           mediaChoice=getMediaChoice();//invokes the method getChoice()
           if(mediaChoice!=0){
              getMediaSelected(mediaChoice);//invokes the method getSelected(choice)
           }//end if
           getChoice(); 
          public static int getProductChoice(){
           String productChoice;//a variable of type string
           int pch;//a variable of type int
           productChoice=JOptionPane.showInputDialog(null,
                   "1. Add product details\n" +
                   "2. View product details\n" +
                   "3. Edit product details\n" +
                         "4. Delete product details\n" +
                   "5. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           pch=Integer.parseInt(productChoice);//a class that wraps a value of the primitive type int in an object
           return pch;//a method that returns an integer value
        }//end getProductChoice
          public static int getMemberChoice(){
           String memberChoice;//a variable of type string
           int mch;//a variable of type int
           memberChoice=JOptionPane.showInputDialog(null,
                   "1. Add member details\n" +
                   "2. View member details\n" +
                   "3. Edit member details\n" +
                             "4. Delete member details\n" +
                   "5. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           mch=Integer.parseInt(memberChoice);//a class that wraps a value of the primitive type int in an object
           return mch;//a method that returns an integer value
        }//end getMemberChoice
          public static int getRentalChoice(){
           String rentalChoice;//a variable of type string
           int rch;//a variable of type int
           rentalChoice=JOptionPane.showInputDialog(null,
                   "1. Add rental details\n" +
                   "2. View rental details\n" +
                   "3. Edit rental details\n" +
                             "4. Delete rental details\n" +
                   "5. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           rch=Integer.parseInt(rentalChoice);//a class that wraps a value of the primitive type int in an object
           return rch;//a method that returns an integer value
        }//end getRentalChoice
          public static int getMediaChoice(){
           String mediaChoice;//a variable of type string
           int mtch;//a variable of type int
           mediaChoice=JOptionPane.showInputDialog(null,
                   "1. Listen to songs\n" +
                             "2. View movie previews\n" +
                             "3. View game previews\n" +
                   "4. Return to main menu\n\n" +
                   "Enter your choice");//asks the user for some input
           mtch=Integer.parseInt(mediaChoice);//a class that wraps a value of the primitive type int in an object
           return mtch;//a method that returns an integer value
        }//end getMediaChoice
          public static void getProductSelected(int productChoice){
           if(productChoice==1){
                  addProducts();
           }//end if
           if(productChoice==2){
              viewProducts();
           }//end if
           if(productChoice==3){
              editProducts();
           }//end if
               if(productChoice==4){
              deleteProducts();
           }//end if
               else{
                   JOptionPane.showMessageDialog(null,"Error\n\nInvalid options\nPlease choose 1, 2, 3, 4 or 5 on the main menu\nPlease choose 1, 2, 3, 4 or 5 on the product menu\nPlease choose 1, 2, 3, 4 or 5 on the member menu\nPlease choose 1, 2, 3, 4 or 5 on the rental menu\nPlease choose 1, 2, 3 or 4 on the media menu");
                   System.exit(0);
        }//end getProductSelected
          public static void getMemberSelected(int memberChoice){
           if(memberChoice==1){
                  addMembers();
           }//end if
           if(memberChoice==2){
              viewMembers();
           }//end if
           if(memberChoice==3){
              editMembers();
           }//end if
               if(memberChoice==4){
              deleteMembers();
           }//end if
               else{
                   JOptionPane.showMessageDialog(null,"Error\n\nInvalid options\nPlease choose 1, 2, 3, 4 or 5 on the main menu\nPlease choose 1, 2, 3, 4 or 5 on the product menu\nPlease choose 1, 2, 3, 4 or 5 on the member menu\nPlease choose 1, 2, 3, 4 or 5 on the rental menu\nPlease choose 1, 2, 3 or 4 on the media menu");
                   System.exit(0);
        }//end getMemberSelected
          public static void getRentalSelected(int rentalChoice){
           if(rentalChoice==1){
                  addRentals();
           }//end if
           if(rentalChoice==2){
              viewRentals();
           }//end if
           if(rentalChoice==3){
              editRentals();
           }//end if
               if(rentalChoice==4){
              deleteRentals();
           }//end if
               else{
                   JOptionPane.showMessageDialog(null,"Error\n\nInvalid options\nPlease choose 1, 2, 3, 4 or 5 on the main menu\nPlease choose 1, 2, 3, 4 or 5 on the product menu\nPlease choose 1, 2, 3, 4 or 5 on the member menu\nPlease choose 1, 2, 3, 4 or 5 on the rental menu\nPlease choose 1, 2, 3 or 4 on the media menu");
                   System.exit(0);
        }//end getRentalSelected
          public static void getMediaSelected(int mediaChoice){
           if(mediaChoice==1){
                  hearSongs();
           }//end if
           if(mediaChoice==2){
              viewMovies();
           }//end if
           if(mediaChoice==3){
              viewGames();
           }//end if
               else{
                   JOptionPane.showMessageDialog(null,"Error\n\nInvalid options\nPlease choose 1, 2, 3, 4 or 5 on the main menu\nPlease choose 1, 2, 3, 4 or 5 on the product menu\nPlease choose 1, 2, 3, 4 or 5 on the member menu\nPlease choose 1, 2, 3, 4 or 5 on the rental menu\nPlease choose 1, 2, 3 or 4 on the media menu");
                   System.exit(0);
        }//end getMediaSelected
          public static void addProducts(){
           ProductForm product=new ProductForm();
           product.getInput();
               product.setVisible(true);
          public static void viewProducts(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editProducts(){
           ProductForm product=new ProductForm();
               product.getInput();
               product.setVisible(true);
          public static void deleteProducts(){
           ProductForm product=new ProductForm();
               product.setVisible(true);
          public static void addMembers(){
           MemberForm member=new MemberForm();
               member.getInput();
               member.setVisible(true);
          public static void viewMembers(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editMembers(){
           MemberForm member=new MemberForm();
               member.getInput();
               member.setVisible(true);
          public static void deleteMembers(){
           MemberForm member=new MemberForm();
               member.setVisible(true);
          public static void addRentals(){
           RentalForm rental=new RentalForm();
               rental.getInput();
               rental.setVisible(true);
          public static void viewRentals(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editRentals(){
           RentalForm rental=new RentalForm();
               rental.getInput();
               rental.setVisible(true);
          public static void deleteRentals(){
           RentalForm rental=new RentalForm();
               rental.setVisible(true);
        public static void hearSongs(){
           MediaTest media=new MediaTest(); 
        public static void viewMovies(){
           MediaTest media=new MediaTest();   
        public static void viewGames(){
           MediaTest media=new MediaTest();   
    }//end class Demo
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.IOException;
    import java.net.URL;
    import javax.media.CannotRealizeException;
    import javax.media.Manager;
    import javax.media.NoPlayerException;
    import javax.media.Player;
    import javax.swing.JPanel;
    public class MediaPanel extends JPanel{
       public MediaPanel(URL mediaURL){
          setLayout(new BorderLayout());//use a BorderLayout
          //Use lightweight components for Swing compatibility
          Manager.setHint(Manager.LIGHTWEIGHT_RENDERER,true);
          try{
             //create a player to play the media specified in the URL
             Player mediaPlayer=Manager.createRealizedPlayer(mediaURL);
             //get the components for the video and the playback controls
             Component video=mediaPlayer.getVisualComponent();
             Component controls=mediaPlayer.getControlPanelComponent();
             if(video!=null)
                add(video,BorderLayout.CENTER);//add video component
             if(controls!=null)
                add(controls,BorderLayout.SOUTH);//add controls
             mediaPlayer.start();//start playing the media clip
          }//end try
          catch(NoPlayerException noPlayerException){
             System.err.println("No media player found");
          }//end catch
          catch(CannotRealizeException cannotRealizeException){
             System.err.println("Could not realize media player");
          }//end catch
          catch(IOException iOException){
             System.err.println("Error reading from the source");
          }//end catch
       }//end MediaPanel constructor
    }//end class MediaPanel
    import java.io.File;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    public class MediaTest{
       //launch the application
       public static void main(String args[]){
          //create a file chooser
          JFileChooser fileChooser=new JFileChooser();
          //show open file dialog
          int result=fileChooser.showOpenDialog(null);
          if(result==JFileChooser.APPROVE_OPTION){//user chose a file
             URL mediaURL=null;
             try{
                //get the file as URL
                mediaURL=fileChooser.getSelectedFile().toURL();
             }//end try
             catch(MalformedURLException malformedURLException){
                System.err.println("Could not create URL for the file");
             }//end catch
             if(mediaURL!=null) {//only display if there is a valid URL
                JFrame mediaTest=new JFrame("Media Tester");
                mediaTest.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                MediaPanel mediaPanel=new MediaPanel(mediaURL);
                mediaTest.add(mediaPanel);
                mediaTest.setSize(300,300);
                mediaTest.setVisible(true);
             }//end inner if
          }//end outer if
       }//end main
    }//end class MediaTest

  • CND problem with code-completion

    Hi,
    First of all I don't really know where to put this post about C++ Pack in NetBeans. I've read one post in which someone suggests that this section will be pretty close...
    Maybe someone here would be so kind and try to help me...
    I'm using Ubuntu 7.04 and I have a problem with code completion in NetBeans 5.5.1 CND and I'm a little bit frustrated right now....
    I installed Netbeans, then CND, Created new C++ Project. Added new source file, with #include <GL/glut.h> directive.
    Whole code was compiled without errors, and that's fine.
    There were some problems with linking but I've added "glut", "GL", "GLU" string to linker parameters in Project Properties.
    The main problem is the code assistant. When I'm hitting "glut" and press ctrl+space it shows functions from glut library but when I type "gl" (to type "glColor3ub...") and try to show the code completion pop-up it shows "No suggestions". The same thing is with GLU library.
    I've installed GL, GLU, glut libraries (they all sit calmly in /usr/include/GL).
    I've added the /usr/include and /usr/include/GL to C++ section.
    I think that the Netbeans is able to find those *.h files because, as I said before, the glut (and the glX) functions are shown properly but there is no sign of "gl" and "glu" FUNCTIONS in code completion (the #define values specified in gl.h and glu.h are on the list, but the functions aren't)...
    I don't have idea why glut and glX are working fine, and gl and glu aren't... If anyone have similar problem, know where to look for an answer or have some suggestions I would be much obliged...
    I've seen Eclipse CDT, Anjuta, kDevelop, Code::Blocks, VIM + icomplete... after checking them all there is only one decision - I want to use NetBeans CND. It's user-friendly, fast and I just like it. That's why I would really like to know why the code-completion isn't working in 100%...

    Vladimir,
    The glColor3ub function declaration is in gl.h file (which along with glu.h is included in glut.h).
    Thanks Maxim,
    In the matter of fact since yesterday I've been looking for the reason why the GL and GLU aren't indexed properly by the Netbeans CC and I've found something.
    The GLU library was indexed after deleting
    #include <GL/gl.h>directive. So it means that the gl.h library is messing up.
    I've checked whole file (gl.h) and noticed that the only part which is in conflict with NetBeans is this one:
    #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
    #  define GLAPI __attribute__((visibility("default")))
    #  define GLAPIENTRYI'm using GCC 4.1 so the expression value is 401, so the GLAPI define looks like the line above.
    gl.h is indexed properly by NetBeans when it is representing "extern", so it should look like
    #  define GLAPI externIt is working fine if you delete this part of gl.h or for example (which I've done) add predefined macro (or change the existing one)
    __GNUC_MINOR__=-200I know that it isn't very clean solution... I'm not happy with cheating NetBeans about the version of installed GCC but unfortunately I am not a specialist in GNU C so maybe someone would find more elegant solution.
    As far as I know the __attribute__ feature makes the GCC more verbose (warnings, errors) but I don't know how much functionality am I loosing in fact...
    Edit: Why the code tags aren't working? :/
    Message was edited by:
    Makula

  • How to Fix BlackBerry App World Identity installation fail problem: (Error Code 80003)

    Hello To all you kickass BlackBerry users!
    I have compiled a web site that addresses the issue if the ID Verification problem (Error Code 80003) when attempting to use AppWorld,
    It seems that it is mainly a Vodacom issue in South Africa, but it should also work with other service providers that have a similar problem. RIM and Vodacom are aware of it and are looking into a solution.. In the mean time you can fix your problem step by step here: http://www.blackberryapps.byethost17.com/
    Regards
    BB Solutions
    Feel free to send a friend request (pin on the site) to contact me personally for any queries you may have.

    Blackberry Identity sometimes gives a problem to download using BIS.
    you can go to manage connections, switch mobile network off, find a wifi hotspot, try updating the identity using wifi, or enter your network provider's apn settings in menu > options > advanced options > tcp/ip, enable the apn, enter service provider apn username and password, save hard reset , and download identity, just remember to undo the changes afterwards.

  • Does PLX file have any compiled code

    What exactly is a plx file. I created a plx file giving the COMPILE_ALL option as
    NO. I saved the plx and the pll in the libraries directory .
    When i run my form i can see the changes. Does the plx have any code or is it just
    a referece to the pll file.
    thanks

    the point with the security is a good point. I appended it in my blog:
    our projects are normally applications for customers and never standard-software. So we have no problem with security. The application server with the deployed forms and libraries is secured as strong as the database, so that only admins have access.
    ### this is added in the blog - try the example on your machine ###
    Other developer say: plx is only the compiled code, so nobody can steal my sourcecode or something valuable from within the code - in that case try this example:
    Create a library with a package and this variable:
    <pre>
    PACKAGE Const IS
    HiddenPW CONSTANT Varchar2 (100) := 'HiddenPW';
    END Const;
    </pre>
    Generate the plx and open it in an editor. Search for "HiddenPW". You'll find the name of the variable and the string associated to the var. That's not save in my eyes. Only the sourcecode is hidden. I think, that a pll on an Application Server is secure enough.
    If the application is standard software and is not for free, then you can use the plx-technique :-)
    ###

Maybe you are looking for

  • Preview quit unexpectedly while using the ImageCaptureCore plug-in.

    Hi,      I get the following error... Preview quit unexpectedly while using the ImageCaptureCore plug-in. when I try to open a file in Preview.  Same error occurs when I simply try to open Preview directly as well.  It was working fine yesterday and

  • Error while compiling DBI | Solaris 8

    Hi we have soalris8 installed on v240 machine. NOw when I'm trying to install DBI following error is coming. make: Fatal error: Command failed for target `Perl.o' and I have gcc3.2.3 . I searched on net but the only solution to this problem seems is

  • Can you play movies on a 5G nano?

    I just got a new 5G nano... does anyone know if you can play movies on it? The instruction manual says yes but the tech support website says no... so which is it??

  • Motion project imported into FCP looks different...

    I have a Motion project that moves 17 magazine covers across a background. When I preview it in Motion it looks great, but when I import it into FCP the mags overlap and run into each other. What could be happening during import and is there a fix??

  • Can I add a HTML code in adobe flash CS5 ?

    Hello ! I'm French I'm working in a flash template (like this one http://www.templatemonster.com/flash-templates/22075.html) and I would like add a HTML code. Could I ? If I can, where insert him ? Thank-you, have a good day, Jérôme.