Glade developed window not showing in compile but showing at julia prompt


Here is a sample of the code I am using to display a glade developed window.

using Gtk, Gtk.ShortNames
b = GtkBuilder(filename="/home/user/Documents/projects/Julia/gladeProjects/")
win = b["window1"]

Here is the glade file I copied from the some web page.

<?xml version="1.0" encoding="UTF-8"?>
  <!-- interface-requires gtk+ 3.0 -->
  <object class="GtkWindow" id="window1">
    <property name="can_focus">False</property>
      <object class="GtkButton" id="button1">
        <property name="label" translatable="yes">button</property>
        <property name="use_action_appearance">False</property>
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="use_action_appearance">False</property>

when I try to run it using

julia ./

it compiles without error but no window is displayed.

When I type julia at the prompt and enter the julia environment I can enter each line of the julia code and the window is displayed. What is the problem? THanks in advance.