How to install Code::Blocks with a Fortran compiler

To install a Fortran compiler (gFortran) to be used within the Code::Blocks IDE editor:

  1. Go to
  2. Click on “Download the binary release”
  3. Click on “Windows 2000/XP/Vista/7//8”
  4. Click on “codeblocks-13.12mingw-setup.exe” to download from
  5. Once downloaded (~100MB), install Code::Blocks IDE
    • Full installation
    • Destination “Program Files\CodeBlocks”
    • “Do you want to run CodeBlocks now?” NO
  6. Start Code::Blocks from the shortcut on Desktop (or find in programs)
  7. When the IDE opens, go to “Settings” > “Compiler…”
  8. From the “Selected Compiler” option, select the “GNU Fortran Compiler” from the list
  9. From below, select “Toolchain executables” TAB
  10. Now check that the “Compilers installation directory” is set to the MinGW folder within Codeblocks
    [bash]c:\Program Files\CodeBlocks\MinGW[/bash]
  11. Click Ok to close the options dialog, close Code::Blocks and re-open
  12. You should now be able to create and compile Fortran sources

Create a simple program (try .f90 or .f95 or .f) and compile:

[cpp]program test
do i=1,5
print*, ‘Hello Fortran’
end do
end program[/cpp]

How to add a Data Source on Oracle 11G Weblogic with JDeveloper 11gR2

To add a Data Source from JDeveloper:

  1. View > Application Server Navigator
  2. Application Servers > IntegratedWebLogicServer
  3. R-click > Launch Administrative Console…
    -that should be i.e. like “”
  4. Login with user/password
  5. From Domain Structure open Services > select Data Sources
  6. New > Generic Data Source
  7. Specify the connection properties:
  • Name: MyConnectionDS (or whatever you defined in your Java app data source)
  • JNDI Name: comp/env/jdbc/MyConnectionDS or jdbc/PoliceConnectionDS
  • Database Type: Oracle
  • > Next
  • Database Driver: Oracle’s Driver (thin) for Instance Connections (versions 9.0.1 or later)
  • > Next
  • Supports Global Transactions
  • One-phase commit
  • > Next
  • Type in: Database Name, Host Name, Port, Database User Name, Password
  • > Next
  • Test Database Connection screen > click Test Your Configuration
  • if “Connection test succeeded.”, click Finish

Your new data source should be ready to use for local server run/debug.





How to create a multiboot USB with XBoot 1.0 b14

  1. Repartition and format the USB: Primary volume, 4k cluster size (default), FAT32 format.
  2. XBoot requires dot.NET Framework 4.0 installed on the system it will be run off
  3. Download a copy of XBoot 1.0 beta 14 and run it, not install required!
  4. Download your favourite ISO distros and drag-n-drop them on the XBoot “Drag-n-drop Box”
    (each one will prompt you what type of boot-loader it needs, major distros are listed and if not
    you should choose ISO file -iso/scan parameter for Linux distros and GrubForDOS iso emulation
    for Windows distros)
  5. Click on “Create USB”
  6. Select the USB from the list of drives and set boot-loader to Syslinux
  7. After a few minutes the drive will be ready

If you need to update an ISO already added, just drag the updated ISO to XBoot (keep same name as
previous entry) and Create USB without the boot-loader. This may be a bit messy sometimes but is doable to some extent. Most of the times you will have your menu changed, but you could edit it after the iso omport.


  • You can use the internal QEMU emulator to check your USB or even better boot directly from a PC
  • You can also check this out for installing and using a permanent emulator for booting USBs
  • I have found that XBoot acts a bit weird on a 64bit Windows, at least surely Windows 8