The dependence on the surface energy is important for the description of the nucleation process of micro- or nanowires. Analytical solution to Gibbs–Tolman–Koenig–Buff equation for micro- or nanowire surface is given. Analytical solutions to equations for the case of the cylindrical surface for the linear and nonlinear Van der Waals theory are analyzed.